install version.rb /var/tmp/portage/rubygems-0.8.10/image/usr/lib/ruby/site_ruby/1.6/rubygems install gem_commands.rb /var/tmp/portage/rubygems-0.8.10/image/usr/lib/ruby/site_ruby/1.6/rubygems install dependency_list.rb /var/tmp/portage/rubygems-0.8.10/image/usr/lib/ruby/site_ruby/1.6/rubygems <--- lib/rubygems <--- lib hook /var/tmp/portage/rubygems-0.8.10/work/rubygems-0.8.10/./post-install.rb failed: wrong # of arguments(2 for 1) Try 'ruby setup.rb --help' for detailed usage. As of RubyGems 0.8.0, library stubs are no longer needed. Searching $LOAD_PATH for stubs to optionally delete (may take a while)... ...done. !!! ERROR: dev-ruby/rubygems-0.8.10 failed. !!! Function ruby_einstall, Line 127, Exitcode 1 !!! setup.rb install failed goliath ~ # emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/resin/conf /usr//lib/mozilla/defaults/pref /usr/kde/2/share/config /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/share/config /usr/lib/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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fPIC" DISTDIR="/opt/no_archive/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks 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_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa arts avi berkdb bitmap-fonts cdr crypt cups curl doc eds encode esd fam flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww log4cpp lzw lzw-tiff mad mikmod motif mozilla mp3 mpeg multilib mysql nas ncurses nls ogg opengl pam pdflib perl plotutils png postgres python qt quicktime readline ruby sdl slang spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales vorbis wxwindows xine xinerama xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
please see if 0.8.11 works for you.
Sorry. No go: install gem_commands.rb /var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems install dependency_list.rb /var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems install security.rb /var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems install gem_openssl.rb /var/tmp/portage/rubygems-0.8.11/image/usr/lib/ruby/site_ruby/1.6/rubygems <--- lib/rubygems <--- lib hook /var/tmp/portage/rubygems-0.8.11/work/rubygems-0.8.11/./post-install.rb failed: wrong # of arguments(2 for 1) Try 'ruby setup.rb --help' for detailed usage. As of RubyGems 0.8.0, library stubs are no longer needed. Searching $LOAD_PATH for stubs to optionally delete (may take a while)... ...done. !!! ERROR: dev-ruby/rubygems-0.8.11 failed. !!! Function ruby_einstall, Line 127, Exitcode 1 !!! setup.rb install failed
hmm, I don't see what's going on here.
How many versions of ruby does the reporter have installed? Try checking epm -qaG| grep ruby and if you've got both 1.6.8 and 1.8.x installed, lose the 1.6.8 stuff. (I had this, and other similar problems, installing rubygems; transpires I was living in 1.6.8-land.)
Yes, that worked. Thank you. Removing the old version of ruby did the trick. Now if we could just get the ebuild to take care of this matter ...
updated the 0.8.11 ebuild to only install against ruby 1.8