diff options
author | Jonathan Lozinski <jonathan.lozinski@sage.com> | 2011-07-16 16:06:44 +0100 |
---|---|---|
committer | Jonathan Lozinski <jonathan.lozinski@sage.com> | 2011-07-16 16:06:44 +0100 |
commit | 8b080b3831f6f8abd19dce12a25d101d0e6229a5 (patch) | |
tree | 8db50ccf168b372394739a42e03a4d052577c17c /railties | |
parent | 06c9dd1906ff693ff3d21de9b7b4dd4627f0a685 (diff) | |
download | rails-8b080b3831f6f8abd19dce12a25d101d0e6229a5.tar.gz rails-8b080b3831f6f8abd19dce12a25d101d0e6229a5.tar.bz2 rails-8b080b3831f6f8abd19dce12a25d101d0e6229a5.zip |
Added gem helper to rake task for engines, as per pull request from 3-1-stable, #2103
Diffstat (limited to 'railties')
-rwxr-xr-x | railties/lib/rails/generators/rails/plugin_new/templates/Rakefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile b/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile index b28a842731..731f98047e 100755 --- a/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile +++ b/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile @@ -24,3 +24,8 @@ end APP_RAKEFILE = File.expand_path("../<%= dummy_path -%>/Rakefile", __FILE__) load 'rails/tasks/engine.rake' <% end %> + +<% unless options[:skip_gemspec] -%> + +Bundler::GemHelper.install_tasks +<% end %> |