From 14b4e5a3b99d6c357369f9191de1de4b8b6f402f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nguy=E1=BB=85n=20Th=C3=A1i=20Ng=E1=BB=8Dc=20Duy?= Date: Sun, 24 Sep 2006 10:12:00 +0700 Subject: [PATCH] Don't call Gem.configuration= on rubygems-0.8.11 --- g-gem | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/g-gem b/g-gem index 499c3d0..1de9ff0 100755 --- a/g-gem +++ b/g-gem @@ -3,6 +3,7 @@ require 'g-gem' Gem.manage_gems -Gem.configuration = Gem::ConfigFile.new({}) # From gem_runner +# Only with rubygems 0.9.0 +Gem.configuration = Gem::ConfigFile.new({}) if Gem.respond_to? 'configuration=' # From gem_runner Portage.init # Get base info from portage GGem.main -- 2.11.4.GIT