Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 166 Bytes
log = File.new("log/sinatra.log", "a+")
log.sync = true
STDOUT.reopen(log)
STDERR.reopen(log)
require File.expand_path('../app', __FILE__)
run Sinatra::Application