Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261141 - dev-ruby/mysql-ruby does not register itself as an installed ruby gem
Summary: dev-ruby/mysql-ruby does not register itself as an installed ruby gem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on: 196036
Blocks:
  Show dependency tree
 
Reported: 2009-03-04 10:23 UTC by skolima
Modified: 2009-12-15 09:45 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 skolima 2009-03-04 10:23:52 UTC
There's dev-ruby/mysql-ruby in portage, but Redmine recomends installing ruby gem mysql for improved performance. Could someone package it?

Reproducible: Always
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-03-04 10:39:17 UTC
dev-ruby/mysql-ruby *is* the mysql gem code, just installed as a normal library.
Should give you the same performance.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-04 10:41:13 UTC
Please see http://blog.flameeyes.eu/2008/12/12/id-rather-keep-myself-away-from-gems on why we prefer not using gems for packages if you're really interested.
Comment 3 skolima 2009-03-04 10:48:06 UTC
It is not listed in
'gem list'
as other portage-installed gems do (e.g actionmailer).
Comment 4 Hans de Graaff gentoo-dev Security 2009-03-04 17:07:40 UTC
(In reply to comment #3)
> It is not listed in
> 'gem list'
> as other portage-installed gems do (e.g actionmailer).

That is correct since the gem as such is not installed. This is normally not a problem since the code is the same and e.g. activerecord uses it as is.

Is this a problem for you? If so, it would be helpful to know the specific package that complains about this and the error it is giving.
Comment 5 skolima 2009-03-05 08:08:56 UTC
It's just confusing, as most (all?) other 'gems' get listed. It's probably ok to close this bug as INVALID.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-03-05 08:17:17 UTC
The only place it will pose problems later is anything that calls Rails::GemDependency (often seen as config.gem in Rails) directly because it tries to scan the gemspecs before loading.

We need to make the packages we install from tarballs install gemspec files, easy solution :-)
Comment 7 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-12-15 09:45:13 UTC
mysql-ruby-2.8.1-r1 now installs a gemspec.