summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorDaisuke Aritomo <osyoyu@osyoyu.com>2025-12-03 03:41:21 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-15 17:20:34 +0900
commitca9c61800bce426ea9c4b15911a4f639370f3ec4 (patch)
tree817cab1a6605f0069844d118bf995664c5469264 /test/ruby
parent2d79cc9bfc3fdd27e3de9d540c37d0367ed16d1e (diff)
Suppress bundled gem warning on `binding.irb'
This patch silences the "this won't work in the next version of Ruby" warning displayed when irb is autoloaded via `binding.irb`. main.rb:1: warning: irb used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0. You can add irb to your Gemfile or gemspec to fix this error. /.../irb.rb:9: warning: reline used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0. You can add reline to your Gemfile or gemspec to fix this error. From: main.rb @ line 1 : => 1: binding.irb /.../input-method.rb:284: warning: rdoc used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0. You can add rdoc to your Gemfile or gemspec to fix this error. This warning is incorrect and misleading: users should not need to include irb (and its dependencies) to their Gemfiles to use `binding.irb`, even in future versions of Ruby. It is agreed that the runtime takes care of that.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions