Created
March 12, 2013 06:55
-
-
Save tatey/5140855 to your computer and use it in GitHub Desktop.
Delayed Job, Rails 4 and Capistrano
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require_relative '../config/boot' | |
require_relative '../config/environment' | |
require 'delayed/command' | |
Delayed::Command.new(ARGV).daemonize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :delayed_job_command, 'bin/delayed_job' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment