ports/119664: [PATCH] devel/ruby-gems: fix gem command after last update

Jonathan Weiss jw at innerewut.de
Mon Jan 14 16:20:02 UTC 2008


>Number:         119664
>Category:       ports
>Synopsis:       [PATCH] devel/ruby-gems: fix gem command after last update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 16:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list