Fix for delayed_job not restarting. #41

Merged
merged 1 commit into from Mar 26, 2012
Commits on Mar 26, 2012
  1. @svoop

    Pass the environment to delayed_job using it's "-e" option.

    svoop committed Mar 26, 2012
    With "login_shell = true", delayed_job is not being restarted even though the corresponding run is being executed. The problem is fixed by no longer passing the Rails environment by setting the RAILS_ENV variable but using the "-e" option script/delayed_job implements precisely for that.