aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/boot.rb
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2005-10-27 17:00:25 +0000
committerNicholas Seckar <nseckar@gmail.com>2005-10-27 17:00:25 +0000
commite0332f59e446c43cd9815dfa70a590b7471e016e (patch)
tree7ea15d16e530f77774e9cc715381e95b13cc1a49 /railties/environments/boot.rb
parent435f0c254e3ebaacd6c19f641948030fdc7f7a46 (diff)
downloadrails-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
Diffstat (limited to 'railties/environments/boot.rb')
-rw-r--r--railties/environments/boot.rb4
1 files changed, 2 insertions, 2 deletions
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)