Update rails to address CVE-2014-3514. Fix the deployment
This commit is contained in:
parent
3581edf58c
commit
f2bbb68ad9
3 changed files with 32 additions and 27 deletions
|
|
@ -29,7 +29,7 @@ end
|
|||
desc 'Deploys the current version to the server.'
|
||||
task deploy: :environment do
|
||||
to :prepare do
|
||||
queue "cd #{deploy_to}/current && RAILS_ENV=production script/delayed_job stop"
|
||||
queue "cd #{deploy_to}/current && RAILS_ENV=production bin/delayed_job stop"
|
||||
end
|
||||
|
||||
deploy do
|
||||
|
|
@ -42,7 +42,7 @@ task deploy: :environment do
|
|||
|
||||
to :launch do
|
||||
queue "sudo /etc/init.d/apache2 restart"
|
||||
queue "cd #{deploy_to}/current && RAILS_ENV=production script/delayed_job start"
|
||||
queue "cd #{deploy_to}/current && RAILS_ENV=production bin/delayed_job start"
|
||||
end
|
||||
|
||||
invoke :'deploy:cleanup'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue