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

Bug 278012

Summary: ruby-gnome2 eclass can only handle one ruby version
Product: Gentoo Linux Reporter: Hans de Graaff <graaff>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 329807, 342195    
Bug Blocks: 258239, 278218    

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.