Permalink
Browse files

Use a relative require for bundled rack lib

  • Loading branch information...
1 parent 6b06c98 commit 4d2ccbb364b62275bad142d9a0b66ee7fd0c424a @jeremy jeremy committed Nov 23, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionpack/lib/action_controller/vendor/rack.rb
@@ -4,5 +4,6 @@
gem 'rack', '~> 0.4.0'
require 'rack'
rescue Gem::LoadError
- require "#{File.dirname(__FILE__)}/rack-0.4.0/rack"
+ $LOAD_PATH << "#{File.dirname(__FILE__)}/rack-0.4.0"
+ require 'rack'
end

0 comments on commit 4d2ccbb

Please sign in to comment.