Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436068

Summary: dev-ruby/rake-0.9.2.2 fails tests if rake is not installed
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 435100    

Description Nikoli 2012-09-24 07:55:28 UTC
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