From: shibata.hiroshi@... Date: 2016-03-02T07:49:51+00:00 Subject: [ruby-core:74090] [Ruby trunk Bug#10746][Rejected] ruby bundles files that requires minitest/testunit (removed from library on 2.2.0) Issue #10746 has been updated by Hiroshi SHIBATA. Status changed from Open to Rejected ---------------------------------------- Bug #10746: ruby bundles files that requires minitest/testunit (removed from library on 2.2.0) https://bugs.ruby-lang.org/issues/10746#change-57239 * Author: Luiz Angelo Daros de Luca * Status: Rejected * Priority: Normal * Assignee: Eric Hodel * ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [i486-linux-gnu] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Hello, On ruby 2.2.0, there is some files shipped with ruby that generates errors when required. This is due to the removal of minitest/testunit from ruby library. I.e.: ~~~ # ruby -rrdoc/test_case /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- minitest/autorun (LoadError) from /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/lib/ruby/2.2/rdoc/test_case.rb:9:in `' from /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require' ~~~ They are: ~~~ (minitest) /usr/lib/ruby/2.2/rubygems/test_case.rb /usr/lib/ruby/2.2/rubygems/package/tar_test_case.rb /usr/lib/ruby/2.2/rubygems/installer_test_case.rb /usr/lib/ruby/2.2/rdoc/test_case.rb /usr/lib/ruby/2.2/rdoc/markup/formatter_test_case.rb /usr/lib/ruby/2.2/rdoc/markup/text_formatter_test_case.rb (test/unit) /usr/lib/ruby/2.2/rake/runtest.rb ~~~ They might be useful for a "make test" but they are probably useless for the target system and might be OK to remove them from installation. Maybe it is interesting to remove them from {rdoc,rake}.gemspec too. -- https://bugs.ruby-lang.org/ Unsubscribe: