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:
parent
d5dc462cd2
commit
d476129691
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue