From 56884b64deeeffb6400060523f8b85211ec99d78 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 3 Nov 2022 10:41:57 -0700 Subject: [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 --- test/irb/test_ruby_lex.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/irb/test_ruby_lex.rb b/test/irb/test_ruby_lex.rb index dcc998a24e..0f7939d2e8 100644 --- a/test/irb/test_ruby_lex.rb +++ b/test/irb/test_ruby_lex.rb @@ -1,5 +1,6 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'irb' +require 'rubygems' require 'test/unit' require 'ostruct' -- cgit v1.2.3