Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89736 - Ruby-1.8.2-r1 fails to include rbconfig (emerge rubygems fails with a "No such file to load -- rbconfig"
Summary: Ruby-1.8.2-r1 fails to include rbconfig (emerge rubygems fails with a "No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 17:19 UTC by Dan Sherman
Modified: 2005-04-20 08:19 UTC (History)
1 user (show)

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 Dan Sherman 2005-04-19 17:19:11 UTC
using Ruby-config-0.3.1 and ruby-1.8.2-r1 (both x86 stable), you get the following error when doing an "emerge rubygems" - "No such file to load -- rbconfig".  This can easily be solved by emerging ruby-1.8.2.  This leads me to believe that its a small packaging error in 1.8.2-r1

Reproducible: Always
Steps to Reproduce:
1. emerge ruby
2. emerge rubygems

Actual Results:  
No such file to load -- rbconfig

Expected Results:  
Install rubygems
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-04-20 06:30:42 UTC
These lines seem to be the culprit:

   sed -i -e 's:\(RUBY_LIB_PREFIX="\)${prefix}/lib:\1${libdir}:' \
       configure.in || die "sed failed"


Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-04-20 06:32:36 UTC
ccing dev who made the modification:

herbs - your configure line sed call breaks the install; my guess is there's a small typo in the sed line.

(After you install Ruby with 1.8.2-r1 as is, nothing loads, as it can't find the library files).
Comment 3 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-20 07:56:58 UTC
My apologies, should be fixed now in cvs. Please verify and close this bug if appropriate.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-04-20 08:19:13 UTC
Works good now - thanks.