Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513318 - dev-ruby/magic should depend on dev-ruby/ffi - /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- ffi (LoadError)
Summary: dev-ruby/magic should depend on dev-ruby/ffi - /usr/lib64/ruby/site_ruby/1.9....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-15 10:03 UTC by René 'Necoro' Neumann
Modified: 2014-06-15 15:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2014-06-15 10:03:50 UTC
If dev-ruby/ffi is not installed:

/usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- ffi (LoadError)
	from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /usr/lib64/ruby/gems/1.9.1/gems/magic-0.2.8/lib/magic.rb:3:in `<top (required)>'


If dev-ruby/ffi is installed, everything works. Also see 
https://github.com/qoobaa/magic/blob/master/lib/magic.rb#l3
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-06-15 15:34:58 UTC
  15 Jun 2014; Manuel Rüger <mrueg@gentoo.org> -magic-0.2.6_p20130813.ebuild,
  magic-0.2.8.ebuild:
  Add missing dependency on ruby-ffi. Fixes bug #513318. Cleanup old.