dcrec1/inploy — pull request #41 by svoop (2012-03-26 19:41:27+00:00)
Title: Fix for delayed_job not restarting.

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.

This is a very nasty issue since not restarting delayed_job after a deploy may cause major problems. A change of a mailer method signature for instance would cause every new job to fail.