diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-22 19:21:56 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-22 19:21:56 -0700 |
commit | d7de7a79c5a0c24373f90dcc569816c80501d456 (patch) | |
tree | d9e69f5659e05cc6a5910c1036477e05e109adb8 /railties | |
parent | 3f870f607d2c1f422d0699e85017e5289aebef97 (diff) | |
download | rails-d7de7a79c5a0c24373f90dcc569816c80501d456.tar.gz rails-d7de7a79c5a0c24373f90dcc569816c80501d456.tar.bz2 rails-d7de7a79c5a0c24373f90dcc569816c80501d456.zip |
I guess we have to return a pathname object. o_O
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/engine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index b327dd1e4a..e0950c6929 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -652,7 +652,7 @@ module Rails root = File.exist?("#{root_path}/#{flag}") ? root_path : default raise "Could not find root path for #{self}" unless root - File.realpath root + Pathname.new File.realpath root end def default_middleware_stack |