From 29d63a04acabf398aa161857b603d99a2bf8e51b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 29 Mar 2007 05:44:44 +0000 Subject: Canonicalize configuration.root_path and replace RAILS_ROOT. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/initializer.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties/lib') diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 4f09dd45a3..6b9a5ae2ae 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -502,6 +502,8 @@ module Rails else Pathname.new(::RAILS_ROOT).realpath.to_s end + + ::RAILS_ROOT.replace @root_path end # Loads and returns the contents of the #database_configuration_file. The -- cgit v1.2.3