Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278012 - ruby-gnome2 eclass can only handle one ruby version
Summary: ruby-gnome2 eclass can only handle one ruby version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on: 329807 342195
Blocks: ruby19 278218
  Show dependency tree
 
Reported: 2009-07-16 06:49 UTC by Hans de Graaff
Modified: 2011-05-30 18:39 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 Hans de Graaff gentoo-dev Security 2009-07-16 06:49:40 UTC
The ruby-gnome2 eclass currently only handles a single ruby version that is currently hardcoded in the eclass as 'ruby', but the code seems to be compatible with ruby 1.8 for the most part.

The short-term fix is to support only ruby 1.8 in this eclass, by explicitly setting USE_RUBY and the proper ruby interpreter hard-coded.

The long-term fix is to either make use of the multi-version install code in ruby.eclass or to add something similar to ruby-gnome2.eclass.
Comment 1 Hans de Graaff gentoo-dev Security 2010-01-15 13:51:22 UTC
This problem should be solved with a new eclass: ruby-ng-gnome2. It builds on the ruby-ng eclass to provide support for multiple ruby versions.

The 0.19.3 versions of the ruby-gnome2 packages will make use of this eclass.
Comment 2 Hans de Graaff gentoo-dev Security 2010-08-07 12:31:25 UTC
We are currently stabling ruby-gnome2-0.19.4. Once that is done the old versions can be removed and the old eclass can be deprecated.
Comment 3 Hans de Graaff gentoo-dev Security 2010-10-22 14:05:33 UTC
All old version have now been removed, except for ruby-glib2. A new stabilization bug for ppc64 has been filed.
Comment 4 Naohiro Aota gentoo-dev 2011-05-30 15:01:53 UTC
This is already fixed in CVS. right?
Comment 5 Hans de Graaff gentoo-dev Security 2011-05-30 18:39:07 UTC
(In reply to comment #4)
> This is already fixed in CVS. right?

Yes. Closing.