Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322821 - dev-ruby/rubygems should install into /usr/local instead of /usr by default
Summary: dev-ruby/rubygems should install into /usr/local instead of /usr by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High QA (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 09:18 UTC by Hans de Graaff
Modified: 2010-08-03 16:09 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 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.