Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added environment rake task to engines

  • Loading branch information...
commit c547e968f5709f174ee13818b35429cbe585b5dd 1 parent 5e1b912
@whilefalse whilefalse authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/lib/rails/tasks/engine.rake
View
1  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)
Please sign in to comment.
Something went wrong with that request. Please try again.