diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-18 00:47:30 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-18 00:47:30 +0000 |
commit | bb9975fbc746b7febe634aba447d2bca7b713740 (patch) | |
tree | 4f1be78faa2bebe34484899043c38a207c7c719a /railties/environments/shared_for_gem.rb | |
parent | 604a09462eb6ad9eec0bd8ba3f100f6c402945e3 (diff) | |
download | rails-bb9975fbc746b7febe634aba447d2bca7b713740.tar.gz rails-bb9975fbc746b7febe634aba447d2bca7b713740.tar.bz2 rails-bb9975fbc746b7febe634aba447d2bca7b713740.zip |
File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments/shared_for_gem.rb')
-rw-r--r-- | railties/environments/shared_for_gem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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' |