diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | config.ru | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,2 +1,3 @@ tmp/* +log/* TODO @@ -5,6 +5,7 @@ require 'rack' require 'rack/contrib' FileUtils.mkdir_p 'log' unless File.exists?('log') +FileUtils.mkdir_p 'tmp' unless File.exists?('tmp') log = File.new("log/#{ENV["RACK_ENV"]}.log", "a") $stdout.reopen(log) $stderr.reopen(log) |