Skip to content
This repository
Browse code

do not rewrite log during application bootstrap

  • Loading branch information...
commit 782687862092fd37f9ca7062028ee03b01a5dfc0 1 parent 9f76659
Sergey Nartimov lest authored

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

  1. +1 1  railties/lib/rails/application/bootstrap.rb
2  railties/lib/rails/application/bootstrap.rb
@@ -28,7 +28,7 @@ module Bootstrap
28 28 FileUtils.mkdir_p File.dirname path
29 29 end
30 30
31   - f = File.open path, 'w'
  31 + f = File.open path, 'a'
32 32 f.binmode
33 33 f.sync = !Rails.env.production? # make sure every write flushes
34 34

0 comments on commit 7826878

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