Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'sinatra/lib/sinatra.rb'
- require 'rubygems'
- Sinatra::Application.default_options.merge!(
- :run => false,
- :env => :production,
- :raise_errors => true
- )
- log = File.new("sinatra.log", "a")
- STDOUT.reopen(log)
- STDERR.reopen(log)
- require 'test.rb'
- run Sinatra.application
Add Comment
Please, Sign In to add comment