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

Bug 118696

Summary: ruby-dbi ebuild missing mysql-ruby dependency
Product: Gentoo Linux Reporter: Sterling Stein <sstein>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sterling Stein 2006-01-11 13:08:05 UTC
Doing
emerge ruby-dbi
with USE="mysql"
does not quite work.  Running it results in this message:
class/module (TypeError)
	from /usr/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in `_get_full_driver'
	from /usr/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect'
	from ./db.rb:10
because the library from mysql-ruby is missing.
It should be marked as a conditional dependency in the ebuild.
After doing
emerge mysql-ruby,
everything worked just fine.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-01-12 04:49:09 UTC
Thanks, I've fixed mysql and postgresql.  Looks like firebird and odbc are probably still broken, though.