提交 78268786 编写于 作者: S Sergey Nartimov

do not rewrite log during application bootstrap

上级 9f76659b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册