From e0332f59e446c43cd9815dfa70a590b7471e016e Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Thu, 27 Oct 2005 17:00:25 +0000 Subject: 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 --- railties/environments/boot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/environments') 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) -- cgit v1.2.3