Skip to content

Instantly share code, notes, and snippets.

@tansengming
Created March 3, 2009 07:34
Show Gist options
  • Save tansengming/73225 to your computer and use it in GitHub Desktop.
Save tansengming/73225 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'vendor/sinatra/lib/sinatra.rb'
root_dir = Dir.pwd
Sinatra::Application.set(
:run => false,
:environment => 'production'
)
require 'app'
run Sinatra::Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment