Skip to content

Commit 217a72e

Browse files
Merge pull request #4034 from rubygems/improve_bundle_gem_gemspec_deps
Add commented out example and more information link to generated gemspec (cherry picked from commit c92a93b)
1 parent d7f76c9 commit 217a72e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bundler/lib/bundler/templates/newgem/newgem.gemspec.tt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ Gem::Specification.new do |spec|
3333
<%- if config[:ext] -%>
3434
spec.extensions = ["ext/<%= config[:underscored_name] %>/extconf.rb"]
3535
<%- end -%>
36+
37+
# Uncomment to register a new dependency of your gem
38+
# spec.add_dependency "example-gem", "~> 1.0"
39+
40+
# For more information and examples about making a new gem, checkout our
41+
# guide at: https://bundler.io/guides/creating_gem.html
3642
end

0 commit comments

Comments
 (0)