summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gems.eclass13
1 files changed, 3 insertions, 10 deletions
diff --git a/eclass/gems.eclass b/eclass/gems.eclass
index b03fef814847..c3df3f52f1e0 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.27 2009/07/05 16:46:05 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.28 2009/08/20 08:38:25 a3li Exp $
# @ECLASS: gems.eclass
# @MAINTAINER:
@@ -80,15 +80,8 @@ gems_src_install() {
USE_RUBY="ruby18"
elif [[ "${USE_RUBY}" == "any" ]]; then
- ewarn
- ewarn "DEPRECATION NOTICE"
- ewarn "USE_RUBY=\"any\" is deprecated. Please use explicit versions instead."
- ewarn "Support will be removed in April 2009."
- ewarn "For questions, please contact ruby@gentoo.org."
- ewarn
-
- # Get the installed versions.
- USE_RUBY=`ls /usr/bin/ruby* | grep -E 'ruby1(8|9)' | sed -e 's@/usr/bin/@@g'`
+ eerror "USE_RUBY=\"any\" is deprecated. Please use explicit versions instead."
+ die "USE_RUBY=\"any\" is deprecated."
fi
local num_ruby_slots=$(echo "${USE_RUBY}" | wc -w)