On 6/1/07, Nick Sieger <[EMAIL PROTECTED]> wrote:
I found a simple solution to this, and the patch is attached. It's
also in the tracker issue, but I don't know how often tracker is
checked. Explanation in the tracker.
Err, it's attached now :P
/Nick
Index: lib/rubygems/source_info_cache.rb
===================================================================
--- lib/rubygems/source_info_cache.rb (revision 1253)
+++ lib/rubygems/source_info_cache.rb (working copy)
@@ -179,7 +179,7 @@
end
end
if File.writable?(dir)
- FileUtils.touch fn
+ File.open(fn, "w") {|f| f << Marshal.dump({}) }
return fn
end
nil
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers