lib/rails/tasks/engine.rake in railties-3.1.12 vs lib/rails/tasks/engine.rake in railties-3.2.0.rc1
- old
+ new
@@ -1,8 +1,9 @@
task "load_app" do
namespace :app do
load APP_RAKEFILE
end
+ task :environment => "app:environment"
if !defined?(ENGINE_PATH) || !ENGINE_PATH
ENGINE_PATH = find_engine_path(APP_RAKEFILE)
end
end