Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.424 kb
$:.unshift ::File.expand_path(::File.join(::File.dirname(__FILE__), 'lib/'))
require 'rubygems'
require 'sinatra'
set :run => false
set :environment => ENV['environment'] || :development
set :app_file => 'sdoc-site.rb'
configure :production do
require app_file
end
configure :development do
set :reload => true
end
log = ::File.new("sinatra.log", "a")
$stdout.reopen(log)
$stderr.reopen(log)
run Sinatra.application
Jump to Line
Something went wrong with that request. Please try again.