提交 e0332f59 编写于 作者: N Nicholas Seckar

Back off cleanpath to be symlink friendly. Closes #2533

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 435f0c25
*SVN*
* Back off cleanpath to be symlink friendly. Closes #2533 [Nicholas Seckar]
* Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac]
......
......@@ -2,7 +2,7 @@
root_path = File.join(File.dirname(__FILE__), '..')
unless RUBY_PLATFORM =~ /mswin32/
require 'pathname'
root_path = Pathname.new(root_path).cleanpath.to_s
root_path = Pathname.new(root_path).cleanpath(true).to_s
end
RAILS_ROOT = root_path
end
......@@ -14,4 +14,4 @@
require 'initializer'
end
Rails::Initializer.run(:set_load_path)
\ No newline at end of file
Rails::Initializer.run(:set_load_path)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册