From: Luis Lavena Date: 2012-02-15T00:40:20+09:00 Subject: [ruby-core:42632] [ruby-trunk - Bug #6025][Open] IRB test: failure caused by non-guarded completion test Issue #6025 has been reported by Luis Lavena. ---------------------------------------- Bug #6025: IRB test: failure caused by non-guarded completion test https://bugs.ruby-lang.org/issues/6025 Author: Luis Lavena Status: Open Priority: Normal Assignee: Category: test Target version: 1.9.3 ruby -v: ruby 1.9.3p105 (2012-02-13 revision 34579) [i386-mingw32] Hello, While testing for 1.9.3-p105 release, found the following test fail:
 65) Failure:
test_nonstring_module_name(TestIRB::TestCompletion) [C:/Users/Luis/Projects/oss/ruby/test/irb/test_completion.rb:13]:
[ruby-core:42244].
<[]> expected but was
<["C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require': cannot load such
file -- readline (LoadError)",
 "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require'",
 "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/irb/completion.rb:9:in `'",
 "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require'",
 "\tfrom C:/Users/Luis/Projects/oss/ruby/lib/rubygems/custom_require.rb:36:in `require'"]>.
RubyInstaller builds do not include GNU Readline and instead uses rb-readline replacement. It fails to load it's replacement and because of that, fails to load and complete the test. A guard against it perhaps needs to be implemented. Ruby 1.9.3-p0 did not present this failure. Thank you -- http://bugs.ruby-lang.org/