1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

do not set the ENGINE_PATH to nil

This commit is contained in:
Aaron Patterson 2012-05-24 15:54:30 -07:00
parent d5dc462cd2
commit d476129691

View file

@ -60,7 +60,7 @@ namespace :db do
end
def find_engine_path(path)
return if path == "/"
return File.expand_path(Dir.pwd) if path == "/"
if Rails::Engine.find(path)
path