Permalink
Browse files

Added gem helper tasks to Rakefile for engine plugins. It makes sense…

… for this to be there given they're being generated to be gemified.

Altered addition to Rakefile so that it won't add GemHelper if the user specified --skip-gemspec
  • Loading branch information...
1 parent 4662b99 commit 1fdf6f67965f437419d4b5e12a811b5e466226fa Jonathan Lozinski committed Jul 16, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/lib/rails/generators/rails/plugin_new/templates/Rakefile
@@ -24,3 +24,7 @@ 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 %>

0 comments on commit 1fdf6f6

Please sign in to comment.