diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-02-10 10:48:54 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-02-10 10:48:54 -0600 |
commit | 0d5b3e6b413c1d1acf94a058dea5bb61199ee100 (patch) | |
tree | 3df27a560e2d3ddf4bae36445dcb74e0c8be69cb | |
parent | 7527cdf79c640eae5db29a6f3f9b955aa50bc29e (diff) | |
download | rails-0d5b3e6b413c1d1acf94a058dea5bb61199ee100.tar.gz rails-0d5b3e6b413c1d1acf94a058dea5bb61199ee100.tar.bz2 rails-0d5b3e6b413c1d1acf94a058dea5bb61199ee100.zip |
Make sure vendored rack is at the front of the load path
-rw-r--r-- | actionpack/lib/action_controller/vendor/rack-1.0/rack.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb b/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb index c64bfe4f4d..d2e36b1333 100644 --- a/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb +++ b/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb @@ -3,8 +3,7 @@ # Rack is freely distributable under the terms of an MIT-style license. # See COPYING or http://www.opensource.org/licenses/mit-license.php. -$: << File.expand_path(File.dirname(__FILE__)) - +$:.unshift(File.expand_path(File.dirname(__FILE__))) # The Rack main module, serving as a namespace for all core Rack # modules and classes. |