提交 4d2ccbb3 编写于 作者: J Jeremy Kemper

Use a relative require for bundled rack lib

上级 6b06c987
...@@ -4,5 +4,6 @@ ...@@ -4,5 +4,6 @@
gem 'rack', '~> 0.4.0' gem 'rack', '~> 0.4.0'
require 'rack' require 'rack'
rescue Gem::LoadError rescue Gem::LoadError
require "#{File.dirname(__FILE__)}/rack-0.4.0/rack" $LOAD_PATH << "#{File.dirname(__FILE__)}/rack-0.4.0"
require 'rack'
end end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册