DelayedJob specific tasks for Capistrano v3:
cap production delayed_job:start
cap production delayed_job:stop
cap production delayed_job:restart
Add this line to your application's Gemfile:
gem 'delayed_job', '~> 4.0.0'
gem 'capistrano-delayed_job', github: 'takuyan/capistrano-delayed_job'
And then execute:
$ bundle
# Capfile
require 'capistrano/delayed_job'
# config/deploy.rb
after :restart, 'delayed_job:restart'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request