Skip to content

Commit dd1fe03

Browse files
y-yagihsbt
authored andcommitted
[rubygems/rubygems] Add irb to a Gemfile for a newly created gem
I think we need this to silence the following warning when running `bin/console` with Ruby 3.4 ``` ./bin/console:10: warning: irb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add irb to your Gemfile or gemspec to silence this warning. ``` ruby/rubygems@c46230c856
1 parent ac093f4 commit dd1fe03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/bundler/templates/newgem/Gemfile.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ source "https://rubygems.org"
55
# Specify your gem's dependencies in <%= config[:name] %>.gemspec
66
gemspec
77

8+
gem "irb"
89
gem "rake", "~> 13.0"
910
<%- if config[:ext] -%>
1011

0 commit comments

Comments
 (0)