Whoops! Make Sure Instiki Works with Vendored Rack

This commit is contained in:
Jacques Distler 2009-09-05 02:44:19 -05:00
parent 4bdf703ab2
commit 37a8f30ded

View file

@ -31,8 +31,12 @@ rescue LoadError
end end
end end
gem 'rack', '~> 1.0.0' begin
gem 'rack', '~> 1.1.0'
require 'rack' 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