public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems/files: rubygems-1.3.7-rubyee.patch
@ 2010-05-14 19:04 Alex Legler (a3li)
  0 siblings, 0 replies; only message in thread
From: Alex Legler (a3li) @ 2010-05-14 19:04 UTC (permalink / raw
  To: gentoo-commits

a3li        10/05/14 19:04:18

  Added:                rubygems-1.3.7-rubyee.patch
  Log:
  Version bump. Closes bug 319531 by Dennis Schridde.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/rubygems/files/rubygems-1.3.7-rubyee.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubygems/files/rubygems-1.3.7-rubyee.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubygems/files/rubygems-1.3.7-rubyee.patch?rev=1.1&content-type=text/plain

Index: rubygems-1.3.7-rubyee.patch
===================================================================
--- lib/rubygems/defaults.rb.orig	2010-05-14 20:43:47.051675672 +0200
+++ lib/rubygems/defaults.rb	2010-05-14 20:50:32.023684192 +0200
@@ -1,3 +1,4 @@
+# This file is altered for Ruby Enterprise Edition on Gentoo.
 module Gem
 
   @post_install_hooks   ||= []
@@ -24,7 +25,7 @@
       File.join(ConfigMap[:rubylibprefix], 'gems',
                 ConfigMap[:ruby_version])
     else
-      File.join(ConfigMap[:libdir], ruby_engine, 'gems',
+      File.join(ConfigMap[:sitedir].gsub(/site_ruby\/?$/, ''), 'gems',
                 ConfigMap[:ruby_version])
     end
   end
@@ -33,7 +34,7 @@
   # Path for gems in the user's home directory
 
   def self.user_dir
-    File.join Gem.user_home, '.gem', ruby_engine, ConfigMap[:ruby_version]
+    File.join Gem.user_home, '.gem', 'rubyee', ConfigMap[:ruby_version]
   end
 
   ##






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-14 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-14 19:04 [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems/files: rubygems-1.3.7-rubyee.patch Alex Legler (a3li)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox