aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-01-23 05:10:55 +0800
committerdelphij <delphij@FreeBSD.org>2008-01-23 05:10:55 +0800
commit62111c18802f466e36d81bb2c6faa93e6079a2fc (patch)
tree5add48dc1d72b5e53a177d862f3ea0fa4da0e61b /devel
parentb7d4a9ff54bd59c9071fa176a8b830680850751f (diff)
downloadfreebsd-ports-graphics-62111c18802f466e36d81bb2c6faa93e6079a2fc.tar.gz
freebsd-ports-graphics-62111c18802f466e36d81bb2c6faa93e6079a2fc.tar.zst
freebsd-ports-graphics-62111c18802f466e36d81bb2c6faa93e6079a2fc.zip
Fix gem command after last update.
PR: ports/119664 Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-gems/Makefile2
-rw-r--r--devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile
index f41ea25672d..513fd5482bd 100644
--- a/devel/ruby-gems/Makefile
+++ b/devel/ruby-gems/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gems
PORTVERSION= 1.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ruby${PORTNAME}
diff --git a/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb b/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
index 85f801e750c..f897e7fa015 100644
--- a/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
+++ b/devel/ruby-gems/files/patch-lib-rubygems-source_info_cache.rb
@@ -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