diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-16 08:43:51 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-16 08:43:51 -0700 |
commit | e98d747705b953a60c276a268513e388440772d3 (patch) | |
tree | adfa7c8d94853f2b9fa24dd8d3e88ed6b32d68a9 | |
parent | 3e06ec89447510340dfd27179c5eb2bd613e9035 (diff) | |
parent | 8b080b3831f6f8abd19dce12a25d101d0e6229a5 (diff) | |
download | rails-e98d747705b953a60c276a268513e388440772d3.tar.gz rails-e98d747705b953a60c276a268513e388440772d3.tar.bz2 rails-e98d747705b953a60c276a268513e388440772d3.zip |
Merge pull request #2108 from loz/master
Adds gem helper rake tasks to engines generator
-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 %> |