aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments')
-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)