Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.363 kB
require 'rubygems'
require 'bundler'
Bundler.require
root_dir = File.dirname(__FILE__)
set :environment, :production
set :root, root_dir
set :app_file, File.join(root_dir, 'share.rb')
disable :run
log = File.new(root_dir + "/log/production.log", "a")
STDOUT.reopen(log)
STDERR.reopen(log)
require File.join(root_dir, 'share.rb')
run Sinatra::Application
Jump to Line
Something went wrong with that request. Please try again.