Whoops! Make Sure Instiki Works with Vendored Rack
This commit is contained in:
parent
4bdf703ab2
commit
37a8f30ded
|
@ -31,8 +31,12 @@ rescue LoadError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
gem 'rack', '~> 1.0.0'
|
begin
|
||||||
require 'rack'
|
gem 'rack', '~> 1.1.0'
|
||||||
|
require 'rack'
|
||||||
|
rescue Gem::LoadError
|
||||||
|
require 'action_controller/vendor/rack-1.1.pre/rack'
|
||||||
|
end
|
||||||
|
|
||||||
module ActionController
|
module ActionController
|
||||||
# TODO: Review explicit to see if they will automatically be handled by
|
# TODO: Review explicit to see if they will automatically be handled by
|
||||||
|
|
Loading…
Reference in a new issue