diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-29 05:44:44 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-29 05:44:44 +0000 |
commit | 29d63a04acabf398aa161857b603d99a2bf8e51b (patch) | |
tree | bff68236464ae18761009a84ec7bb1b17eade218 /railties/lib | |
parent | 0cac2806a6fd9f1f63cdce8d3fd1e86cefb22c1f (diff) | |
download | rails-29d63a04acabf398aa161857b603d99a2bf8e51b.tar.gz rails-29d63a04acabf398aa161857b603d99a2bf8e51b.tar.bz2 rails-29d63a04acabf398aa161857b603d99a2bf8e51b.zip |
Canonicalize configuration.root_path and replace RAILS_ROOT.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/initializer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |