Prefer Monkey-patching Rack Gem to Vendored Rack
This gets around a dreaded in `load_missing_constant': Rack is not missing constant Handler! (ArgumentError) error in latest Ruby 1.9.2-dev. (Ruby 1.8.x doesn't seem to care.)
This commit is contained in:
parent
10cf102544
commit
fd9fc1455e
3 changed files with 65 additions and 1 deletions
|
@ -32,7 +32,7 @@ rescue LoadError
|
|||
end
|
||||
|
||||
begin
|
||||
gem 'rack', '~> 1.1.1'
|
||||
gem 'rack', '~> 1.1.0'
|
||||
require 'rack'
|
||||
rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/../../../plugins/rack/lib"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue