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.
This commit is contained in:
parent
ef30cc22df
commit
e99fcf720c
3
vendor/plugins/rack/lib/rack.rb
vendored
3
vendor/plugins/rack/lib/rack.rb
vendored
|
@ -36,7 +36,8 @@ module Rack
|
||||||
autoload :Deflater, "rack/deflater"
|
autoload :Deflater, "rack/deflater"
|
||||||
autoload :Directory, "rack/directory"
|
autoload :Directory, "rack/directory"
|
||||||
autoload :ForwardRequest, "rack/recursive"
|
autoload :ForwardRequest, "rack/recursive"
|
||||||
autoload :Handler, "rack/handler"
|
require "rack/handler"
|
||||||
|
# autoload :Handler, "rack/handler"
|
||||||
autoload :Head, "rack/head"
|
autoload :Head, "rack/head"
|
||||||
autoload :Lint, "rack/lint"
|
autoload :Lint, "rack/lint"
|
||||||
autoload :Lock, "rack/lock"
|
autoload :Lock, "rack/lock"
|
||||||
|
|
Loading…
Reference in a new issue