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

Bug 322821

Summary: dev-ruby/rubygems should install into /usr/local instead of /usr by default
Product: Gentoo Linux Reporter: Hans de Graaff <graaff>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hans de Graaff gentoo-dev Security 2010-06-05 09:18:37 UTC
Currently dev-ruby/rubygems installs its files into /usr when running with root permissions. It should install into /usr/local by default instead to keep a clear separation between gentoo-managed files and user-managed files. The current situation may lead to problems, especially when users mix ebuild and gem-based installs for the same package.

Note that rubygems still needs to be able to install into /usr to support the legacy gems.eclass, and that the relevant /usr/local paths should be added to the RUBYPATH automatically so that this change is transparent to users.

One potential issue is that gems already installed into /usr may no longer be removed without providing additional options.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-03 16:09:03 UTC
Fixed in 1.3.7-r2.