Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.359 kb
require 'rubygems'
require 'sinatra'
require 'server'
root_dir = File.dirname(__FILE__)
set :environment, :development
set :root, root_dir
set :app_file, File.join(root_dir, 'server.rb')
disable :run
FileUtils.mkdir_p 'log' unless File.exists?('log')
log ="log/sinatra.log", "a")
run Sinatra::Application
Jump to Line
Something went wrong with that request. Please try again.