Ticket #4045: make_rails_root_absolute.diff
| File make_rails_root_absolute.diff, 440 bytes (added by Dee.Zsombor@gmail.com, 3 years ago) |
|---|
-
railties/environments/boot.rb
old new 6 6 require 'pathname' 7 7 root_path = Pathname.new(root_path).cleanpath(true).to_s 8 8 end 9 RAILS_ROOT = root_path9 RAILS_ROOT = File.expand_path(root_path) 10 10 end 11 11 12 12 if File.directory?("#{RAILS_ROOT}/vendor/rails")