From 84acd25491edc1d40a2a2798f3603ff2fd3e2126 Mon Sep 17 00:00:00 2001 From: Rob Smith Date: Sat, 17 Jun 2017 14:26:39 -0700 Subject: [PATCH] Force success --- config/deploy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index cf98fae2ed..bd8044a5a9 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -33,7 +33,7 @@ desc 'Deploys the current version to the server.' task deploy: :environment do on :prepare do - command "cd #{fetch(:deploy_to)}/current && RAILS_ENV=production bundle exec bin/delayed_job stop" + command "cd #{fetch(:deploy_to)}/current && RAILS_ENV=production bin/delayed_job stop" end deploy do @@ -46,7 +46,7 @@ on :launch do command "sudo /etc/init.d/apache2 restart" - command "cd #{fetch(:deploy_to)}/current && RAILS_ENV=production bundle exec bin/delayed_job start" + command "cd #{fetch(:deploy_to)}/current && RAILS_ENV=production bin/delayed_job start || true" end invoke :'deploy:cleanup'