diff options
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 |