##// END OF EJS Templates
Expand RAILS_ROOT path on startup (#1892)....
Jean-Philippe Lang -
r1818:1f1fd9e034a8
parent child
Show More
@@ -1,7 +1,7
1 # Don't change this file!
1 # Don't change this file!
2 # Configure your app in config/environment.rb and config/environments/*.rb
2 # Configure your app in config/environment.rb and config/environments/*.rb
3
3
4 RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
4 RAILS_ROOT = File.expand_path("#{File.dirname(__FILE__)}/..") unless defined?(RAILS_ROOT)
5
5
6 module Rails
6 module Rails
7 class << self
7 class << self
General Comments 0
You need to be logged in to leave comments. Login now