Make Vendored Rack work with Ruby 1.9.2-p0

Seemed to have no troubles with 1.9.2dev. But
with the release version, Instiki would fail to
launch, with a 

  `load_missing_constant': Rack is not missing constant Handler! (ArgumentError)

error.
master
Jacques Distler 2010-09-09 00:57:35 -05:00
parent ef30cc22df
commit e99fcf720c
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ module Rack
autoload :Deflater, "rack/deflater"
autoload :Directory, "rack/directory"
autoload :ForwardRequest, "rack/recursive"
autoload :Handler, "rack/handler"
require "rack/handler"
# autoload :Handler, "rack/handler"
autoload :Head, "rack/head"
autoload :Lint, "rack/lint"
autoload :Lock, "rack/lock"