Running "emerge rails" results in fail on rake. # emerge rails Calculating dependencies... done! >>> Emerging (1 of 9) dev-ruby/rake-0.7.1 to / * rake-0.7.1.gem MD5 ;-) ... [ ok ] * rake-0.7.1.gem RMD160 ;-) ... [ ok ] * rake-0.7.1.gem SHA1 ;-) ... [ ok ] * rake-0.7.1.gem SHA256 ;-) ... [ ok ] * rake-0.7.1.gem size ;-) ... [ ok ] * rake-0.7.1.tgz MD5 ;-) ... [ ok ] * rake-0.7.1.tgz RMD160 ;-) ... [ ok ] * rake-0.7.1.tgz SHA1 ;-) ... [ ok ] * rake-0.7.1.tgz SHA256 ;-) ... [ ok ] * rake-0.7.1.tgz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking rake-0.7.1.gem ;-) ... [ ok ] * checking rake-0.7.1.tgz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rake-0.7.1.tgz to /var/tmp/portage/dev-ruby/rake-0.7.1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/rake-0.7.1/work ... >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/rake-0.7.1 >>> Install rake-0.7.1 into /var/tmp/portage/dev-ruby/rake-0.7.1/image/ category dev-ruby ERROR: unknown option or action specified. Program exited with an error (code -1). Operation aborted. !!! ERROR: dev-ruby/rake-0.7.1 failed. Call stack: ebuild.sh, line 1593: Called dyn_install ebuild.sh, line 1036: Called src_install rake-0.7.1.ebuild, line 28: Called gems_src_install gems.eclass, line 71: Called die !!! gem install failed !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.2_rc4-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686) ================================================================= System uname: 2.6.19-gentoo-r1 i686 Intel(R) Celeron(R) M processor 1.40GHz Gentoo Base System version 1.12.8 Last Sync: Thu, 04 Jan 2007 13:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ / ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ " LANG="lv_LV.UTF-8" LC_ALL="lv_LV.UTF-8" LINGUAS="lv" MAKEOPTS="-j2" PKGDIR="/usr/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="/home/ddd/soft/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi alsa apache2 berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dlloader dri dvd flac fortran gdal gdbm geos gif gpm hal iconv idn ieee1394 ipv6 isdnlog java jpeg kde libg++ mmx mmxext ncurses nls nptl nptlonly nsplugin ogg opengl pam pcimcia pcre pdf perl png ppds pppd proj python qt3 qt4 readline reflection samba session spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode x86 xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LINGUAS="lv" USERLAND="GNU" VIDEO_CARDS="vesa i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
What rubygems version was you using? If possible, can you edit $PORTDIR/eclass/gems.eclass? (you should make a backup and restore after the test) In line 71, there is: gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed" please insert "echo" before "gem" and replace "||" with ";" so that it becomes: echo gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} ; die "gem install failed" and post the emerge output here. Thank you
First - I do not know (yet) what is "gems". As tutorial started with "install rails" and I stuck there ;) If rails will not work with UTF-8 data, then I will not need to know what "GEM" is etc. ;) Second - requested output: >>> Unpacking rake-0.7.1.tgz to /var/tmp/portage/dev-ruby/rake-0.7.1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/rake-0.7.1/work ... >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/rake-0.7.1 >>> Install rake-0.7.1 into /var/tmp/portage/dev-ruby/rake-0.7.1/image/ category dev-ruby gem install /var/tmp/portage/dev-ruby/rake-0.7.1/distdir/rake-0.7.1 -v 0.7.1 --no-rdoc -l -i /var/tmp/portage/dev-ruby/rake-0.7.1/image///usr/lib/ruby/gems/1.8 !!! ERROR: dev-ruby/rake-0.7.1 failed. Call stack: ebuild.sh, line 1593: Called dyn_install ebuild.sh, line 1036: Called src_install rake-0.7.1.ebuild, line 28: Called gems_src_install gems.eclass, line 71: Called die
We start to run out of short and cool names for apps ;) Dupe, as I have installed GRASS with gem - GRASS extension manager. *** This bug has been marked as a duplicate of bug 160809 ***