Skip to content

Commit

Permalink
prefer thin over webrick if you got it
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tomayko <rtomayko@gmail.com>
  • Loading branch information
josh authored and rtomayko committed Sep 6, 2009
1 parent 0936f57 commit 69bbe41
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/shotgun
Expand Up @@ -2,7 +2,13 @@


require 'optparse' require 'optparse'


server = nil begin
require 'thin'
server = 'thin'
rescue LoadError
server = nil
end

env = ENV['RACK_ENV'] || 'development' env = ENV['RACK_ENV'] || 'development'
browse = false browse = false
options = {:Port => 9393, :Host => 'localhost', :AccessLog => []} options = {:Port => 9393, :Host => 'localhost', :AccessLog => []}
Expand Down

0 comments on commit 69bbe41

Please sign in to comment.