From 0d5b3e6b413c1d1acf94a058dea5bb61199ee100 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 10 Feb 2009 10:48:54 -0600 Subject: Make sure vendored rack is at the front of the load path --- actionpack/lib/action_controller/vendor/rack-1.0/rack.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'actionpack') 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. -- cgit v1.2.3