提交 47498a7f 编写于 作者: C Carlhuda

Woops, forgot to actually add active_support/core_ext/file/path.rb

上级 24ab5665
...@@ -19,3 +19,4 @@ railties/tmp ...@@ -19,3 +19,4 @@ railties/tmp
bin bin
.bundle .bundle
pkg pkg
*.gem
\ No newline at end of file
class File
unless File.allocate.respond_to?(:to_path)
alias to_path path
end
end
\ No newline at end of file
...@@ -19,6 +19,7 @@ def setup ...@@ -19,6 +19,7 @@ def setup
"Rack::Runtime", "Rack::Runtime",
"Rails::Rack::Logger", "Rails::Rack::Logger",
"ActionDispatch::ShowExceptions", "ActionDispatch::ShowExceptions",
"Rack::Sendfile",
"ActionDispatch::Callbacks", "ActionDispatch::Callbacks",
"ActionDispatch::Cookies", "ActionDispatch::Cookies",
"ActionDispatch::Session::CookieStore", "ActionDispatch::Session::CookieStore",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册