From d476129691b1dd1e356f386af0532dcb2cd885ee Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 24 May 2012 15:54:30 -0700 Subject: [PATCH] do not set the ENGINE_PATH to nil --- railties/lib/rails/tasks/engine.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/tasks/engine.rake b/railties/lib/rails/tasks/engine.rake index eea8abe7d2..70370be3f5 100644 --- a/railties/lib/rails/tasks/engine.rake +++ b/railties/lib/rails/tasks/engine.rake @@ -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