I am trying to get Capistrano to start / stop Delayed Jobs using the Rails 4 application. I followed the instructions here , but it says Rails 3. Here is how it is configured now:
deploy.rb:
require 'delayed/recipes' after "deploy:start", "delayed_job:start" after "deploy:stop", "delayed_job:stop" after "deploy:restart", "delayed_job:stop","delayed_job:start"
When I try to deploy, I get the following error after trying to execute RAILS_ENV = production script / delayed_job stop
sh: script/delayed_job: not found
ruby-on-rails ruby-on-rails-4 capistrano delayed-job
Tom rossi
source share