Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 1fdf6f67965f437419d4b5e12a811b5e466226fa 1 parent 4662b99
@loz loz authored
View
4 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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.