summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/gems.eclass')
-rw-r--r--eclass/gems.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/gems.eclass b/eclass/gems.eclass
index 2bf311f2cb60..67acbfede5d0 100644
--- a/eclass/gems.eclass
+++ b/eclass/gems.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.31 2009/11/28 09:02:59 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.32 2009/11/29 19:10:01 flameeyes Exp $
# @ECLASS: gems.eclass
# @MAINTAINER:
@@ -70,6 +70,10 @@ gems_src_install() {
myconf="--no-rdoc --no-ri"
fi
+ if [[ -n "${GEMS_FORCE_INSTALL}" ]]; then
+ myconf="${myconf} --force"
+ fi
+
# I'm not sure how many ebuilds have correctly set USE_RUBY - let's assume
# ruby18 if they haven't, since even pure Ruby gems that have been written
# against 1.8 can explode under 1.9.