lib/rails/tasks/engine.rake in railties-3.2.22.5 vs lib/rails/tasks/engine.rake in railties-4.0.0.beta1

- old
+ new

@@ -58,10 +58,10 @@ desc "Retrieves the current schema version number" app_task "version" end def find_engine_path(path) - return if path == "/" + return File.expand_path(Dir.pwd) if path == "/" if Rails::Engine.find(path) path else find_engine_path(File.expand_path('..', path))