From 239ec08c001b5588914f08ec8063939ad143067a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Mar 2005 01:07:06 +0000 Subject: More fixes for symlinked setups #793 [phantom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/shared.rb | 4 ++-- railties/environments/shared_for_gem.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'railties/environments') diff --git a/railties/environments/shared.rb b/railties/environments/shared.rb index 2e4e4ade13..f983c74786 100644 --- a/railties/environments/shared.rb +++ b/railties/environments/shared.rb @@ -64,8 +64,8 @@ end ActionController::Routing::Routes.reload Controllers = Dependencies::LoadingModule.root( - File.expand_path(File.join(RAILS_ROOT, 'app', 'controllers')), - File.expand_path(File.join(RAILS_ROOT, 'components')) + File.join(RAILS_ROOT, 'app', 'controllers'), + File.join(RAILS_ROOT, 'components') ) # Include your app's configuration here: diff --git a/railties/environments/shared_for_gem.rb b/railties/environments/shared_for_gem.rb index ee77e3341a..db6c797795 100644 --- a/railties/environments/shared_for_gem.rb +++ b/railties/environments/shared_for_gem.rb @@ -59,8 +59,8 @@ end ActionController::Routing::Routes.reload Controllers = Dependencies::LoadingModule.root( - File.expand_path(File.join(RAILS_ROOT, 'app', 'controllers')), - File.expand_path(File.join(RAILS_ROOT, 'components')) + File.join(RAILS_ROOT, 'app', 'controllers'), + File.join(RAILS_ROOT, 'components') ) # Include your app's configuration here: -- cgit v1.2.3