diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-03 10:41:57 -0700 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-03 17:42:45 +0000 |
commit | 56884b64deeeffb6400060523f8b85211ec99d78 (patch) | |
tree | b1b4fdef207da9aec4b456c2a5b97223dc71e4b1 | |
parent | 01d7e15757131555291daa2b851a850cfe17cfe7 (diff) |
[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
-rw-r--r-- | test/irb/test_ruby_lex.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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' |