Skip to content
Browse files

do not rewrite log during application bootstrap

  • Loading branch information...
1 parent 9f76659 commit 782687862092fd37f9ca7062028ee03b01a5dfc0 @lest lest committed Jan 3, 2012
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 7826878

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