| Summary: | Global gemrc doesn't know about prefixed path to /etc | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Sven Schwyn (svoop) <gentoo> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
hmmm, does this mean ruby-1.9 includes rubygems? I fixed it for rubygems-1.3.3 now ruby 1.9.1 doesn't compile for me, so I can't fix it. 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. |
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.