Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 279 Bytes
require 'rubygems'
require 'bundler'
Bundler.setup
root = ENV['APP_ROOT'] || File.expand_path('..', __FILE__)
Encoding.default_external = 'utf-8'
# https://devcenter.heroku.com/articles/ruby#logging
$stdout.sync = true
require File.join(root, 'app')
run Sinatra::Application