Permalink
Browse files

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
  • Loading branch information...
1 parent 435f0c2 commit e0332f59e446c43cd9815dfa70a590b7471e016e @seckar seckar committed Oct 27, 2005
Showing with 4 additions and 2 deletions.
  1. +2 −0 railties/CHANGELOG
  2. +2 −2 railties/environments/boot.rb
View
@@ -1,5 +1,7 @@
*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)
+Rails::Initializer.run(:set_load_path)

0 comments on commit e0332f5

Please sign in to comment.