lib/rack/handler.rb in rack-1.3.10 vs lib/rack/handler.rb in rack-1.4.0
- old
+ new
@@ -1,9 +1,9 @@
module Rack
# *Handlers* connect web servers with Rack.
#
- # Rack includes Handlers for Mongrel, WEBrick, FastCGI, CGI, SCGI
+ # Rack includes Handlers for Thin, WEBrick, FastCGI, CGI, SCGI
# and LiteSpeed.
#
# Handlers usually are activated by calling <tt>MyHandler.run(myapp)</tt>.
# A second optional hash can be passed to include server-specific
# configuration.
@@ -36,10 +36,10 @@
Rack::Handler::FastCGI
elsif ENV.include?("REQUEST_METHOD")
Rack::Handler::CGI
else
begin
- Rack::Handler::Mongrel
+ Rack::Handler::Thin
rescue LoadError
Rack::Handler::WEBrick
end
end
end