Skip to content
Browse files

Merge pull request #4279 from lest/fix-log

do not rewrite log during application bootstrap
  • Loading branch information...
2 parents 36e77fe + 7826878 commit 632995c3e8c3393e58483e7a7bfabe29e1dfbf76 @tenderlove tenderlove committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/application/bootstrap.rb
View
2 railties/lib/rails/application/bootstrap.rb
@@ -28,7 +28,7 @@ module Bootstrap
FileUtils.mkdir_p File.dirname path
end
- f = File.open path, 'w'
+ f = File.open path, 'a'
f.binmode
f.sync = !Rails.env.production? # make sure every write flushes

0 comments on commit 632995c

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