ruby-changes:74335
From: Takashi <ko1@a...>
Date: Fri, 4 Nov 2022 02:42:56 +0900 (JST)
Subject: [ruby-changes:74335] 56884b64de (master): [ruby/irb] Require rubygems to run the test alone on ruby/ruby
https://git.ruby-lang.org/ruby.git/commit/?id=56884b64de From 56884b64deeeffb6400060523f8b85211ec99d78 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> 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 @@ https://github.com/ruby/ruby/blob/trunk/test/irb/test_ruby_lex.rb#L1 $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'irb' +require 'rubygems' require 'test/unit' require 'ostruct' -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/