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
|
||||
|
||||
gem 'rack', '~> 1.0.0'
|
||||
begin
|
||||
gem 'rack', '~> 1.1.0'
|
||||
require 'rack'
|
||||
rescue Gem::LoadError
|
||||
require 'action_controller/vendor/rack-1.1.pre/rack'
|
||||
end
|
||||
|
||||
module ActionController
|
||||
# TODO: Review explicit to see if they will automatically be handled by
|
||||
|
|
Loading…
Reference in a new issue