aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/shared.rb2
-rw-r--r--railties/environments/shared_for_gem.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/environments/shared.rb b/railties/environments/shared.rb
index f47586ebcc..cd4d5b205a 100644
--- a/railties/environments/shared.rb
+++ b/railties/environments/shared.rb
@@ -1,4 +1,4 @@
-RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + "/../")
+RAILS_ROOT = File.dirname(__FILE__) + "/../"
RAILS_ENV = ENV['RAILS_ENV'] || 'development'
diff --git a/railties/environments/shared_for_gem.rb b/railties/environments/shared_for_gem.rb
index c8aa36a505..e82a6344fe 100644
--- a/railties/environments/shared_for_gem.rb
+++ b/railties/environments/shared_for_gem.rb
@@ -1,4 +1,4 @@
-RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + "/../")
+RAILS_ROOT = File.dirname(__FILE__) + "/../"
RAILS_ENV = ENV['RAILS_ENV'] || 'development'