Skip to content

Instantly share code, notes, and snippets.

@tatey
Created March 12, 2013 06:55
Show Gist options
  • Save tatey/5140855 to your computer and use it in GitHub Desktop.
Save tatey/5140855 to your computer and use it in GitHub Desktop.
Delayed Job, Rails 4 and Capistrano
#!/usr/bin/env ruby
require_relative '../config/boot'
require_relative '../config/environment'
require 'delayed/command'
Delayed::Command.new(ARGV).daemonize
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