Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143632 - dev-ruby/rubygems-0.9.0 failed emerge
Summary: dev-ruby/rubygems-0.9.0 failed emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 21:17 UTC by Michael Labhard
Modified: 2006-12-18 06:14 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 Michael Labhard 2006-08-11 21:17:51 UTC
>>> Install rubygems-0.9.0 into /var/tmp/portage/rubygems-0.9.0/image/ category dev-ruby
/usr/portage/dev-ruby/rubygems/rubygems-0.9.0.ebuild: line 28: /usr/bin/ruby: No such file or directory
/usr/portage/eclass/ruby.eclass: line 127: /usr/bin/ruby: No such file or directory

However:

goliath ~ # ls -la /usr/bin/ruby
lrwxrwxrwx 1 root root 6 Sep  5  2005 /usr/bin/ruby -> ruby16

goliath ~ # emerge --info
Portage 2.1-r2 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.ccccom.com http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/opt/no_archive/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr cli crypt cups dlloader doc dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde libg++ log4cpp lzw lzw-tiff mozilla mp3 mpeg nas ncurses nls nptl nsplugin opengl pam pcre pdflib perl plotutils png postgres pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb wxwindows xinerama xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aaron Kulbe (RETIRED) gentoo-dev 2006-09-06 23:27:51 UTC
Do you have ruby 1.8 installed? If so, try using ruby-config to set your ruby profile to use 1.8 - and then retry installing rubygems.
Comment 2 Michael Labhard 2006-09-07 19:14:51 UTC
Yes, your advise works.  Configuring for ruby 1.8 solves this problem.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-18 06:14:04 UTC
*** Bug 158455 has been marked as a duplicate of this bug. ***