diff options
author | gebele <gebele@in-silico.ch> | 2016-10-12 13:45:37 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2016-10-12 13:45:37 +0000 |
commit | 4b8e18a19f375b8d4c12621ec8f8f9ee305d11fa (patch) | |
tree | 6f11df8a79fc0c1b7a74e3adcc6a35ae157f4033 /config.ru | |
parent | f4ec6a9bc42a1d6d3a2f136ddf50f3589a57c21b (diff) |
stage save for transmission
Diffstat (limited to 'config.ru')
-rw-r--r-- | config.ru | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -4,4 +4,10 @@ require 'bundler' Bundler.require require File.expand_path './application.rb' require "sinatra/reloader" if development? + +FileUtils.mkdir_p 'log' unless File.exists?('log') +log = File.new("log/nano-lazar.log", "a") +$stdout.reopen(log) +$stderr.reopen(log) + run Sinatra::Application |