Ticket #6354: rails_root_path.patch
| File rails_root_path.patch, 492 bytes (added by ward, 2 years ago) |
|---|
-
rails-1.1.6/environments/boot.rb
old new 1 1 # Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb 2 2 3 3 unless defined?(RAILS_ROOT) 4 root_path = File. join(File.dirname(__FILE__), '..')4 root_path = File.expand_path(File.join(File.dirname(__FILE__), '..')) 5 5 6 6 unless RUBY_PLATFORM =~ /mswin32/ 7 7 require 'pathname'