Skip to content

Commit

Permalink
Use a relative require for bundled rack lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Nov 23, 2008
1 parent 6b06c98 commit 4d2ccbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actionpack/lib/action_controller/vendor/rack.rb
Expand Up @@ -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.