[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.
```

https://github.com/rubygems/rubygems/commit/c46230c856
This commit is contained in:
yuuji.yaginuma 2025-02-02 17:49:19 +09:00 committed by Hiroshi SHIBATA
parent ac093f4350
commit dd1fe03b8a

View File

@ -5,6 +5,7 @@ source "https://rubygems.org"
# Specify your gem's dependencies in <%= config[:name] %>.gemspec
gemspec
gem "irb"
gem "rake", "~> 13.0"
<%- if config[:ext] -%>