[ruby/irb] Require rubygems to run the test alone on ruby/ruby

`Gem` is not undefined on test-all

https://github.com/ruby/irb/commit/08ac803d61
This commit is contained in:
Takashi Kokubun 2022-11-03 10:41:57 -07:00 committed by git
parent 01d7e15757
commit 56884b64de

View File

@ -1,5 +1,6 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'irb'
require 'rubygems'
require 'test/unit'
require 'ostruct'