Hard coded env for temp

This commit is contained in:
Priit Tark 2015-02-03 14:20:46 +02:00
parent 3c51b8537f
commit a65bfd01c5

View file

@ -161,11 +161,11 @@ end
namespace :delayed_job do
task stop: :environment do
queue "cd #{deploy_to}/current; bin/delayed_job stop"
queue "cd #{deploy_to}/current; RAILS_ENV=staging bin/delayed_job stop"
end
task start: :environment do
queue "cd #{deploy_to}/current; bin/delayed_job start"
queue "cd #{deploy_to}/current; RAILS_ENV=staging bin/delayed_job start"
end
end