From 54df70222317506db732c8c17dd8bd009bcf065f Mon Sep 17 00:00:00 2001 From: Pavel Chipiga Date: Wed, 14 Dec 2011 15:51:39 +0200 Subject: [PATCH] Re-set correct rails env for DJ again. Refs #1 --- config/production.pill | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/production.pill b/config/production.pill index 43e19475e..a39efd5c6 100644 --- a/config/production.pill +++ b/config/production.pill @@ -9,8 +9,8 @@ Bluepill.application(app_name) do |app| process.stop_grace_time = 10.seconds process.restart_grace_time = 10.seconds - process.start_command = "bundle exec script/delayed_job start RAILS_ENV=production" - process.stop_command = "bundle exec script/delayed_job stop RAILS_ENV=production" + process.start_command = "RAILS_ENV=production script/delayed_job start" + process.stop_command = "RAILS_ENV=production script/delayed_job stop" process.pid_file = File.join(app.working_dir, 'tmp', 'pids', 'delayed_job.pid') end