Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268866 - Global gemrc doesn't know about prefixed path to /etc
Summary: Global gemrc doesn't know about prefixed path to /etc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 21:39 UTC by Sven Schwyn (svoop)
Modified: 2010-01-27 15:32 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 Sven Schwyn (svoop) 2009-05-06 21:39:58 UTC
The path to the global gemrc file is hardcoded as "/etc" here...

Ruby 1.8 with rubygems-1.3.1:
{$EPREFIX}/usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb (line 44)

Ruby 1.9.1:
{$EPREFIX}/usr/lib/ruby19/1.9.1/rubygems/config_file.rb (line 44)

> rescue LoadError
>   '/etc'
> end

Reproducible: Always

Steps to Reproduce:



Expected Results:  
This hardcoded "/etc" will cause trouble if the patch suggested in bug #268857 is adopted.
Comment 1 Fabian Groffen gentoo-dev 2009-06-14 08:45:18 UTC
hmmm, does this mean ruby-1.9 includes rubygems?
Comment 2 Fabian Groffen gentoo-dev 2009-06-14 08:51:06 UTC
I fixed it for rubygems-1.3.3 now
Comment 3 Fabian Groffen gentoo-dev 2009-06-14 09:07:26 UTC
ruby 1.9.1 doesn't compile for me, so I can't fix it.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-27 15:32:48 UTC
The ruby stuff has recently undergone some churn in gentoo. Please re-open with specific details if there is still a problem. Thanks for understanding.