diff options
author | Hans de Graaff <graaff@gentoo.org> | 2008-09-10 05:43:16 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2008-09-10 05:43:16 +0000 |
commit | 199d4edaa2b230fc9d567fe688d27a4f1256c4d3 (patch) | |
tree | 28f1dc92587b5edd7a3f0fcb8a60fe54c1148d2d /dev-ruby/rubygems/rubygems-1.2.0.ebuild | |
parent | Patch from upstream to fix build issue, bug #237011, thank Martin von Gagern ... (diff) | |
download | historical-199d4edaa2b230fc9d567fe688d27a4f1256c4d3.tar.gz historical-199d4edaa2b230fc9d567fe688d27a4f1256c4d3.tar.bz2 historical-199d4edaa2b230fc9d567fe688d27a4f1256c4d3.zip |
Fix sandbox problems, #230163
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-ruby/rubygems/rubygems-1.2.0.ebuild')
-rw-r--r-- | dev-ruby/rubygems/rubygems-1.2.0.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-ruby/rubygems/rubygems-1.2.0.ebuild b/dev-ruby/rubygems/rubygems-1.2.0.ebuild index fcb36a06e810..f4074845b0fd 100644 --- a/dev-ruby/rubygems/rubygems-1.2.0.ebuild +++ b/dev-ruby/rubygems/rubygems-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.2.0.ebuild,v 1.4 2008/08/06 16:40:12 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.2.0.ebuild,v 1.5 2008/09/10 05:43:16 graaff Exp $ inherit ruby @@ -42,9 +42,11 @@ src_install() { ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]') - # rubygems tries to create GEM_HOME if it doesn't exist, upsetting sandbox, - # bug #202109 + # rubygems tries to create GEM_HOME if it doesn't exist, upsetting + # sandbox, bug #202109. Since 1.2.0 we also need to set GEM_PATH + # for this reason, bug #230163. export GEM_HOME="${D}/usr/$(get_libdir)/ruby/gems/${ver}" + export GEM_PATH="${GEM_HOME}/" keepdir /usr/$(get_libdir)/ruby/gems/$ver/{doc,gems,cache,specifications} myconf="" |