Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 234 Bytes
require 'rubygems'
require 'bundler'
Bundler.setup
app_root = ENV['APP_ROOT'] || File.expand_path('..', __FILE__)
Encoding.default_external = 'utf-8'
$stdout.sync = true
require File.join(app_root, 'app')
run Sinatra::Application