summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/boot.rb2
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