diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2005-10-27 17:00:25 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2005-10-27 17:00:25 +0000 |
commit | e0332f59e446c43cd9815dfa70a590b7471e016e (patch) | |
tree | 7ea15d16e530f77774e9cc715381e95b13cc1a49 | |
parent | 435f0c254e3ebaacd6c19f641948030fdc7f7a46 (diff) | |
download | rails-e0332f59e446c43cd9815dfa70a590b7471e016e.tar.gz rails-e0332f59e446c43cd9815dfa70a590b7471e016e.tar.bz2 rails-e0332f59e446c43cd9815dfa70a590b7471e016e.zip |
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
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/environments/boot.rb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 7b661857b5..06c59619d3 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -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] diff --git a/railties/environments/boot.rb b/railties/environments/boot.rb index b829644d1f..96aa96bc4e 100644 --- a/railties/environments/boot.rb +++ b/railties/environments/boot.rb @@ -2,7 +2,7 @@ unless defined?(RAILS_ROOT) 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 @@ else require 'initializer' end -Rails::Initializer.run(:set_load_path)
\ No newline at end of file +Rails::Initializer.run(:set_load_path) |