Only write to log file in production.
Gemfile.lock back under version-control, needed for deployment.