Permalink
Browse files

Fix generated comments in Rakefile about using dependencies with bund…

…ler.
  • Loading branch information...
1 parent a07f9e7 commit b1bfecc4ea51873b07df4389a351fd1901dca8d8 @technicalpickles technicalpickles committed May 1, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 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 %>

0 comments on commit b1bfecc

Please sign in to comment.