Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.412 kB
require File.expand_path('../config/load', __FILE__)
Service::App.set :run => true,
:environment => :production,
:port => ARGV.first || 8080,
:logging => true
begin
require 'mongrel'
Service::App.set :server, 'mongrel'
rescue LoadError
begin
require 'thin'
Service::App.set :server, 'thin'
rescue LoadError
Service::App.set :server, 'webrick'
end
end
Service::App.run!
Jump to Line
Something went wrong with that request. Please try again.