Permalink
Browse files

expand_path for RAILS_ROOT

  • Loading branch information...
1 parent 6d70377 commit 2438ce065ba5809a390e5e48abadfd7686fbf37c @saturnflyer saturnflyer committed Oct 19, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/boot.rb
View
@@ -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

0 comments on commit 2438ce0

Please sign in to comment.