From a75889653b0b7be01b2f5b18b70ed9f9ada63363 Mon Sep 17 00:00:00 2001
From: Alex Legler <a3li@gentoo.org>
Date: Thu, 20 Aug 2009 08:38:25 +0000
Subject: Remove USE_RUBY=any support from gems.eclass

---
 eclass/gems.eclass | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

(limited to 'eclass/gems.eclass')

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)
-- 
cgit v1.2.3-65-gdbad