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

Bug 276179

Summary: dev-ruby/png needs dev-ruby/ruby-inline
Product: Gentoo Linux Reporter: Rafal Rzepecki <divided.mind>
Component: [OLD] DevelopmentAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafal Rzepecki 2009-07-02 09:22:55 UTC
dev-ruby/png has a missing REQUIRE of dev-ruby/ruby-inline. Without inline it fails on loading with
LoadError: no such file to load -- inline
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/lib/ruby/gems/1.8/gems/png-1.2.0/lib/png.rb:5
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from (irb):1

Reproducible: Always

Steps to Reproduce:
1. paludis -i dev-ruby/png
2. ruby -e 'require "png"'
Comment 1 Hans de Graaff gentoo-dev Security 2009-07-03 06:02:09 UTC
The dependency is not listed in the gemspec. I've added back the dependency and a comment so that future version bumps won't drop it based on the gemspec.

Thanks for the report.