Tests fail if rake is not installed: >>> Source compiled. * Running test phase for ruby18 ... /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- rake (LoadError) from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from bin/rake:31 * ERROR: dev-ruby/rake-0.9.2.2 failed (test phase): * tests failed If rake is installed, tests work fine: >>> Source compiled. * Running test phase for ruby18 ... (in /var/tmp/portage/dev-ruby/rake-0.9.2.2/work/ruby18/rake-0.9.2.2) RDoc 2.4.2+ is required to build documentation Run options: --seed 30795 # Running tests: ............................................................................................................................................................................................................................................................................................................................................................................................................................................. Finished tests in 9.735530s, 44.0654 tests/s, 122.2327 assertions/s. 429 tests, 1190 assertions, 0 failures, 0 errors, 0 skips * Running test phase for ruby19 ... /usr/lib64/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config. (in /var/tmp/portage/dev-ruby/rake-0.9.2.2/work/ruby19/rake-0.9.2.2) RDoc 2.4.2+ is required to build documentation Run options: --seed 467 # Running tests: ............................................................................................................................................................................................................................................................................................................................................................................................................................................. Finished tests in 10.358661s, 41.4146 tests/s, 114.8797 assertions/s. 429 tests, 1190 assertions, 0 failures, 0 errors, 0 skips >>> Install rake-0.9.2.2 into /var/tmp/portage/dev-ruby/rake-0.9.2.2/image/ category dev-ruby
This happens with dev-ruby/rake-13.0.3 as well, with a different error though. With rake not installed yet: *** * Running test phase for ruby26 ... Run options: --seed 24650 # Running: ..........................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................... Finished in 9.789772s, 60.2670 runs/s, 166.5003 assertions/s. 1) Failure: TestRakeFunctional#test_signal_propagation_in_tests [/var/tmp/portage/dev-ruby/rake-13.0.3-r1/work/ruby26/rake-13.0.3/test/test_rake_functional.rb:496]: Expected /ATEST/ to match "". 590 runs, 1630 assertions, 1 failures, 0 errors, 0 skips *** With =dev-ruby/rake-13.0.3 previously installed (with FEATURES=-test, naturally): *** * Running test phase for ruby26 ... Run options: --seed 15238 # Running: ..................................................................................................................... ..................................................................................................................... ..................................................................................................................... ..................................................................................................................... ..................................................................................................................... ........ Finished in 104.058561s, 5.6987 runs/s, 15.8276 assertions/s. 593 runs, 1647 assertions, 0 failures, 0 errors, 0 skips
Slight correction, the "with rake already installed" paste has come from a different system than the "with rake not installed" one, hence dramatically different timings. Here is the correct one: *** * Running test phase for ruby26 ... Run options: --seed 45671 # Running: .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Finished in 10.236813s, 57.6351 runs/s, 159.4246 assertions/s. 590 runs, 1632 assertions, 0 failures, 0 errors, 0 skips
This has been fixed in rake 13.1.0.