Created
November 9, 2009 19:26
-
-
Save thbishop/230194 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: vendor/gems/delayed_job-1.8.4/lib/delayed/command.rb | |
=================================================================== | |
--- vendor/gems/delayed_job-1.8.4/lib/delayed/command.rb (revision 162) | |
+++ vendor/gems/delayed_job-1.8.4/lib/delayed/command.rb (working copy) | |
@@ -54,7 +54,7 @@ | |
# Re-open file handles | |
@files_to_reopen.each do |file| | |
begin | |
- file.reopen File.join(RAILS_ROOT, 'log', 'delayed_job.log'), 'w+' | |
+ file.reopen File.join(RAILS_ROOT, 'log', 'delayed_job.log'), 'a' | |
file.sync = true | |
rescue ::Exception | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment