Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix generated comments in Rakefile about using dependencies with bund…

…ler.
  • Loading branch information...
commit b1bfecc4ea51873b07df4389a351fd1901dca8d8 1 parent a07f9e7
@technicalpickles technicalpickles authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/jeweler/templates/jeweler_tasks.erb
View
6 lib/jeweler/templates/jeweler_tasks.erb
@@ -11,12 +11,14 @@ Jeweler::Tasks.new do |gem|
<% if should_setup_rubyforge %>
gem.rubyforge_project = "<%= project_name %>"
<% end %>
+<% if should_use_bundler %>
+ # dependencies defined in Gemfile
+<% else %>
+<% development_dependencies.each do |name, version| %>
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
# gem.add_development_dependency 'rspec', '> 1.2.3'
-<% if ! should_use_bundler %>
-<% development_dependencies.each do |name, version| %>
gem.add_development_dependency "<%= name %>", "<%= version %>"
<% end %>
<% end %>
Please sign in to comment.
Something went wrong with that request. Please try again.