Sha256: 52c046959248609b283db7045290fc8ab861265f140274fe9f8a309858ae6786
Contents?: true
Size: 262 Bytes
Versions: 18
Compression:
Stored size: 262 Bytes
Contents
require File.join(File.dirname(__FILE__), 'application') set :run, false set :environment, :production FileUtils.mkdir_p 'log' unless File.exists?('log') log = File.new("log/sinatra.log", "a+") $stdout.reopen(log) $stderr.reopen(log) run Sinatra::Application
Version data entries
18 entries across 9 versions & 1 rubygems