Skip to content
This repository
Browse code

Fix starting DJ

'bundle exec' is run under a login shell so that rvm is setup properly.
Otherwise bundle will look in the system gems and thats not where
'bundle install' was run.
  • Loading branch information...
commit a0e2de39f2fe02c00cf0ad5e9ef4142b851eb5fe 1 parent 8cb20fc
Evan Phoenix evanphx authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  config/pill.rb
2  config/pill.rb
@@ -10,7 +10,7 @@
10 10 process.restart_grace_time = 10.seconds
11 11
12 12 process.environment = { 'RAILS_ENV' => RAILS_ENV }
13   - process.start_command = "bundle exec rake jobs:work"
  13 + process.start_command = "bash -l -c 'bundle exec rake jobs:work'"
14 14 process.daemonize = true
15 15
16 16 process.pid_file = "#{RELEASE_PATH}/shared/pids/delayed_job.pid"

0 comments on commit a0e2de3

Please sign in to comment.
Something went wrong with that request. Please try again.