aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-03-15 22:54:26 -0500
committerJoshua Peek <josh@joshpeek.com>2009-03-15 22:54:26 -0500
commit39ff550fa88da9a22d8c21ca872f5e4d0d83f8d4 (patch)
tree94154a02f9420de62138f6a87f68e0be19a2a826 /actionpack
parent73fc42cc0b5e94541480032c2941a50edd4080c2 (diff)
downloadrails-39ff550fa88da9a22d8c21ca872f5e4d0d83f8d4.tar.gz
rails-39ff550fa88da9a22d8c21ca872f5e4d0d83f8d4.tar.bz2
rails-39ff550fa88da9a22d8c21ca872f5e4d0d83f8d4.zip
Ensure our bundled version of rack is at the front of the load path
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/vendor/rack-1.0/rack.rb2
1 files changed, 1 insertions, 1 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 6c73d64612..6349b95094 100644
--- a/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb
+++ b/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb
@@ -3,7 +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