mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 08:25:20 +08:00
Restore irb to warning target
Users should add `irb` to their Gemfile. `Gem::BUNDLED_GEMS.force_activate 'irb'` is workaround for short term.
This commit is contained in:
1 parent
ca9c61800b
commit
6afac93c5c
1 file changed
+1
-1
Notes:
git
2026-03-02 16:05:44 +00:00
+1
-1
@@ -2,7 +2,7 @@ class Binding
|
||||
# :nodoc:
|
||||
def irb(...)
|
||||
suppress = Thread.current[:__bundled_gems_warning_suppression]
|
||||
Thread.current[:__bundled_gems_warning_suppression] = ['irb', 'reline', 'rdoc']
|
||||
Thread.current[:__bundled_gems_warning_suppression] = ['reline', 'rdoc']
|
||||
|
||||
begin
|
||||
require 'irb'
|
||||
|
||||
Reference in new issue
Block a user