From 6a99d22ed9eb3b64b3f24f5f766e062e59f2162a Mon Sep 17 00:00:00 2001 From: Nguyen Thai Ngoc Duy Date: Thu, 4 Jan 2007 19:00:47 +0000 Subject: show gem command line if gem installation fails --- eclass/gems.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/gems.eclass') diff --git a/eclass/gems.eclass b/eclass/gems.eclass index f5140f65c91a..b5b9629b48e5 100644 --- a/eclass/gems.eclass +++ b/eclass/gems.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.12 2007/01/04 05:43:52 pclouds Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.13 2007/01/04 19:00:47 pclouds Exp $ # # Author: Rob Cakebread # Current Maintainer: Ruby Herd @@ -68,7 +68,7 @@ gems_src_install() { dodir ${GEMSDIR} - gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed" + gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed: gem-$(gem --version) install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR}" # This is a workaround for <=rubygems-0.9.0.8 because it's exitstatus equals 0 # even if the dependencies are not found. So we are testing if rubygems at -- cgit v1.2.3-65-gdbad