Skip to content

Commit

Permalink
use mongrel if it's installed
Browse files Browse the repository at this point in the history
  • Loading branch information
pjhyett committed Apr 29, 2009
1 parent 11ddcc8 commit 25b27ac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion github-services.rb
Expand Up @@ -27,7 +27,13 @@
require 'rubyforge'

set :run, true
set :server, 'webrick'

begin
require 'mongrel'
set :server, 'webrick'
rescue LoadError
set :server, 'webrick'
end

module GitHub
def service(name)
Expand Down

0 comments on commit 25b27ac

Please sign in to comment.