From nobody@FreeBSD.org  Mon Jan 14 16:18:54 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1F01916A418
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 14 Jan 2008 16:18:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id ECF4A13C442
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 14 Jan 2008 16:18:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0EGHc58021272
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 14 Jan 2008 16:17:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0EGHcGM021271;
	Mon, 14 Jan 2008 16:17:38 GMT
	(envelope-from nobody)
Message-Id: <200801141617.m0EGHcGM021271@www.freebsd.org>
Date: Mon, 14 Jan 2008 16:17:38 GMT
From: Jonathan Weiss <jw@innerewut.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] devel/ruby-gems: fix gem command after last update
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119664
>Category:       ports
>Synopsis:       [PATCH] devel/ruby-gems: fix gem command after last update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 16:20:01 UTC 2008
>Closed-Date:    Tue Jan 22 21:11:15 UTC 2008
>Last-Modified:  Tue Jan 22 21:20:01 UTC 2008
>Originator:     Jonathan Weiss
>Release:        7.0 BETA 4
>Organization:
>Environment:
>Description:
The last update to devel/ruby-gems introduced a patch to rubygems that changed the internal return value of a fuction and thereby broke the `gem` command.
>How-To-Repeat:
# gem install foo
>Fix:
diff -ru ruby-gems.orig/files/patch-lib-rubygems-source_info_cache.rb ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
--- ruby-gems.orig/files/patch-lib-rubygems-source_info_cache.rb        2008-01-14 16:42:56.000000000 +0100
+++ ruby-gems/files/patch-lib-rubygems-source_info_cache.rb     2008-01-14 16:43:26.000000000 +0100
@@ -27,8 +27,8 @@
 @@ -107,6 +110,7 @@
  
    def reset_cache_data
-     @cache_data = {}
 +    FileUtils.rm @cache_file
+     @cache_data = {}
    end
  
    # The name of the cache file to be read



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 14 16:20:13 UTC 2008 
Responsible-Changed-Why:  
clsung@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119664 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Tue Jan 22 21:10:58 UTC 2008 
State-Changed-Why:  
Committed, thanks! 


Responsible-Changed-From-To: clsung->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Tue Jan 22 21:10:58 UTC 2008 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119664 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119664: commit references a PR
Date: Tue, 22 Jan 2008 21:11:17 +0000 (UTC)

 delphij     2008-01-22 21:10:55 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/ruby-gems      Makefile 
     devel/ruby-gems/files patch-lib-rubygems-source_info_cache.rb 
   Log:
   Fix gem command after last update.
   
   PR:             ports/119664
   Submitted by:   maintainer
   
   Revision  Changes    Path
   1.21      +1 -1      ports/devel/ruby-gems/Makefile
   1.2       +1 -1      ports/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
