aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_controller/vendor/rack-1.0/rack.rb3
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.