diff options
author | Steven Anderson <steve@whilefalse.net> | 2011-10-17 16:28:00 +0100 |
---|---|---|
committer | steve <steve@whilefalse.net> | 2011-10-18 15:46:39 +0100 |
commit | c547e968f5709f174ee13818b35429cbe585b5dd (patch) | |
tree | c20bb0e5313191d700856072477c961c07248a3b /railties | |
parent | 5e1b912f3b3a81cec99a3743b3a9d21e5c96d97c (diff) | |
download | rails-c547e968f5709f174ee13818b35429cbe585b5dd.tar.gz rails-c547e968f5709f174ee13818b35429cbe585b5dd.tar.bz2 rails-c547e968f5709f174ee13818b35429cbe585b5dd.zip |
Added environment rake task to engines
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/tasks/engine.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/tasks/engine.rake b/railties/lib/rails/tasks/engine.rake index 2152e811f5..eea8abe7d2 100644 --- a/railties/lib/rails/tasks/engine.rake +++ b/railties/lib/rails/tasks/engine.rake @@ -2,6 +2,7 @@ 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) |