Merge remote branch 'gma/master'

This commit is contained in:
Jonas Nicklas 2010-01-23 12:42:27 +01:00
commit d354ea4a8b
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ class Capybara::Server
Timeout.timeout(10) do
Thread.new do
if defined?(Rack::Handler::Mongrel)
begin
Rack::Handler::Mongrel.run(Identify.new(@app), :Port => port)
else
rescue LoadError
Rack::Handler::WEBrick.run(Identify.new(@app), :Port => port, :AccessLog => [])
end
end