diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-13 18:32:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-13 18:32:37 +0000 |
commit | 1f1fd9e034a83ac6ffdd3e8cbda86b92a9326d8b (patch) | |
tree | d13e7a5f2584a1a25b827e184e08af8f1e5d1dd9 /config/boot.rb | |
parent | 35bb9307dc09c94f7f4c76331319ccd73a4c6ae4 (diff) | |
download | redmine-1f1fd9e034a83ac6ffdd3e8cbda86b92a9326d8b.tar.gz redmine-1f1fd9e034a83ac6ffdd3e8cbda86b92a9326d8b.zip |
Expand RAILS_ROOT path on startup (#1892).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1820 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/boot.rb')
-rw-r--r-- | config/boot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/boot.rb b/config/boot.rb index cd21fb9ea..c20cf35f2 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,7 +1,7 @@ # Don't change this file! # Configure your app in config/environment.rb and config/environments/*.rb -RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) +RAILS_ROOT = File.expand_path("#{File.dirname(__FILE__)}/..") unless defined?(RAILS_ROOT) module Rails class << self |