diff options
author | Hans de Graaff <graaff@gentoo.org> | 2008-11-14 13:56:56 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2008-11-14 13:56:56 +0000 |
commit | 9fa2dfbe1f9ccbb8915d81dfe915ceb552161721 (patch) | |
tree | 7bdb9b7e0e82b0d0a3f58fd72071c376313cd9ba /eclass/gems.eclass | |
parent | dev-cpp/pangomm: bump to 2.14.1 (diff) | |
download | gentoo-2-9fa2dfbe1f9ccbb8915d81dfe915ceb552161721.tar.gz gentoo-2-9fa2dfbe1f9ccbb8915d81dfe915ceb552161721.tar.bz2 gentoo-2-9fa2dfbe1f9ccbb8915d81dfe915ceb552161721.zip |
Multiple ruby versions are currently only supported in the ruby overlay, use the default ruby interpreter for now
Diffstat (limited to 'eclass/gems.eclass')
-rw-r--r-- | eclass/gems.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/gems.eclass b/eclass/gems.eclass index 83bb4a986b2b..a02d9efcb8a9 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.22 2008/11/14 11:59:14 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.23 2008/11/14 13:56:56 graaff Exp $ # # Author: Rob Cakebread <pythonhead@gentoo.org> # Current Maintainer: Ruby Herd <ruby@gentoo.org> @@ -65,10 +65,10 @@ gems_src_install() { fi dodir ${GEMSDIR} - - local gte13=$(/usr/bin/${ruby_version} -rubygems -e 'puts Gem::RubyGemsVersion >= "1.3.0"') - if [[ "${gte13}" == "true" ]] ; then + local gte13=$(${RUBY} -rubygems -e 'puts Gem::RubyGemsVersion >= "1.3.0"') + + if [[ "${gte13}" == "true" ]] ; then gem install ${GEM_SRC} --version ${PV} ${myconf} \ --local --install-dir "${D}/${GEMSDIR}" --sandbox-fix \ || die "gem (>=1.3.0) install failed" |