I cannot start delayed job process using a capistrano recipe. Here\'s the error I am getting.
/usr/local/lib/ruby/gems/1.9.1/gems/delayed_job-2.1.1/lib/delayed/
Add the creation of this directory before
after "deploy:restart", "delayed_job:start" task :start, :roles => :app do run "mkdir #{current_path}/tmp/pids" run "cd #{current_path}; RAILS_ENV=#{rails_env} script/delayed_job -n 2 start" end