summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-02-22 18:17:17 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-02-22 18:17:17 +0000
commitc2fd94cb959950cf5270a5b44681c1112ea3fe1c (patch)
treecf1eb14dd97e2cb47564f806ef92c7f76cde239a /dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild
parentStart of an selinux/alpha profile. (diff)
downloadgentoo-2-c2fd94cb959950cf5270a5b44681c1112ea3fe1c.tar.gz
gentoo-2-c2fd94cb959950cf5270a5b44681c1112ea3fe1c.tar.bz2
gentoo-2-c2fd94cb959950cf5270a5b44681c1112ea3fe1c.zip
Remove ruby_with_gems and message saying it's a good idea to use
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild')
-rw-r--r--dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild14
1 files changed, 1 insertions, 13 deletions
diff --git a/dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild b/dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild
index d6af97c11267..a426dba9b0a6 100644
--- a/dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild
+++ b/dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild,v 1.1 2006/01/02 23:46:01 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.8.11-r3.ebuild,v 1.2 2006/02/22 18:17:17 caleb Exp $
inherit ruby
@@ -29,16 +29,4 @@ src_install() {
ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]')
GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install
keepdir /usr/lib/ruby/gems/$ver/doc
-
- echo "RUBYOPT=\"-rubygems\" /usr/bin/ruby${ver/\./} \"\$@\"" > ${D}/usr/bin/ruby${ver/\./}_with_gems
- chmod 755 ${D}/usr/bin/ruby${ver/\./}_with_gems
-}
-
-pkg_postinst() {
- einfo
- einfo
- einfo "In order to take advantage of automatic gem require for Ruby, please change your"
- einfo "Ruby version to the _with_gems version listed via /usr/sbin/ruby-config -l"
- einfo
- einfo
}