Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.412 kB
aa60399 @technoweenie script/bootstrap
technoweenie authored
1 require File.expand_path('../config/load', __FILE__)
835f8cf @pjhyett GitHub service integration
pjhyett authored
2
e18401e @technoweenie update sinatra to 1.2.6
technoweenie authored
3 Service::App.set :run => true,
5c24ff6 @technoweenie sinatra starts his set when i tell him to
technoweenie authored
4 :environment => :production,
887c1b3 @technoweenie enable logging
technoweenie authored
5 :port => ARGV.first || 8080,
6 :logging => true
25b27ac @pjhyett use mongrel if it's installed
pjhyett authored
7
8 begin
dfeb687 @defunkt try mongrel first
defunkt authored
9 require 'mongrel'
4ff427a @technoweenie github-services.rb is no longer the only entry point to access the si…
technoweenie authored
10 Service::App.set :server, 'mongrel'
25b27ac @pjhyett use mongrel if it's installed
pjhyett authored
11 rescue LoadError
dfeb687 @defunkt try mongrel first
defunkt authored
12 begin
13 require 'thin'
4ff427a @technoweenie github-services.rb is no longer the only entry point to access the si…
technoweenie authored
14 Service::App.set :server, 'thin'
dfeb687 @defunkt try mongrel first
defunkt authored
15 rescue LoadError
4ff427a @technoweenie github-services.rb is no longer the only entry point to access the si…
technoweenie authored
16 Service::App.set :server, 'webrick'
dfeb687 @defunkt try mongrel first
defunkt authored
17 end
25b27ac @pjhyett use mongrel if it's installed
pjhyett authored
18 end
11ddcc8 @pjhyett update sinatra and use webrick instead
pjhyett authored
19
4ff427a @technoweenie github-services.rb is no longer the only entry point to access the si…
technoweenie authored
20 Service::App.run!
15d5e67 @defunkt default page 200s (for status check)
defunkt authored
21
Something went wrong with that request. Please try again.