Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add autoload for Thin handler

  • Loading branch information...
commit 539cf9ae7bf1a7fbf79d237013fdf049bf493b22 1 parent dd4a374
@macournoyer macournoyer authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/rack/handler.rb
View
2  lib/rack/handler.rb
@@ -33,6 +33,7 @@ def self.register(server, klass)
autoload :WEBrick, "rack/handler/webrick"
autoload :LSWS, "rack/handler/lsws"
autoload :SCGI, "rack/handler/scgi"
+ autoload :Thin, "rack/handler/thin"
register 'cgi', 'Rack::Handler::CGI'
register 'fastcgi', 'Rack::Handler::FastCGI'
@@ -42,5 +43,6 @@ def self.register(server, klass)
register 'webrick', 'Rack::Handler::WEBrick'
register 'lsws', 'Rack::Handler::LSWS'
register 'scgi', 'Rack::Handler::SCGI'
+ register 'thin', 'Rack::Handler::Thin'
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.