Basic delayed jobs queue display and rubocop fixes

This commit is contained in:
Andres Keskküla 2014-11-12 18:31:21 +02:00
parent c7b58d8b06
commit f4ebbbdc95
5 changed files with 36 additions and 5 deletions

View file

@ -85,8 +85,8 @@ task deploy: :environment do
to :launch do
queue "mkdir -p #{deploy_to}/current/tmp; touch #{deploy_to}/current/tmp/restart.txt"
queue "RAILS_ENV=production bin/delayed_job stop"
queue "RAILS_ENV=production bin/delayed_job start"
queue 'RAILS_ENV=production bin/delayed_job stop'
queue 'RAILS_ENV=production bin/delayed_job start'
end
end
end