lib/rack/handler.rb in rack-1.6.0.beta vs lib/rack/handler.rb in rack-1.6.0.beta2
- old
+ new
@@ -49,10 +49,10 @@
# We already speak FastCGI
options.delete :File
options.delete :Port
Rack::Handler::FastCGI
- elsif ENV.include?("REQUEST_METHOD")
+ elsif ENV.include?(REQUEST_METHOD)
Rack::Handler::CGI
elsif ENV.include?("RACK_HANDLER")
self.get(ENV["RACK_HANDLER"])
else
pick ['thin', 'puma', 'webrick']