Chad Woolley wrote:
 > chadmac:/ woolley$ rm /usr/local/lib/ruby/gems/1.8/source_cache
 > rm: /usr/local/lib/ruby/gems/1.8/source_cache: No such file or directory
 > chadmac:/ woolley$ gem list activerecord --remote
 >
 > *** REMOTE GEMS ***
 > ERROR:  While executing gem ... (NoMethodError)
 >     private method `scan' called for #<YAML::PrivateType:0x15e2594>
 >
 > I have the source_cache from my mac, where it was occurring even
 > before I deleted the file, but is that still relevant, since I can
 > recreate it without any source_cache at all?

Thanks Chad.   Hmmmm ... you blow away the system cache in /usr/local, 
but what about the user cache, probably stored in $HOME/.gem/source_cache?

RubyGems will prefer to use the /usr/local version, but if it is 
protected and you are not running as root, then it will use the user 
writable version version in $HOME/.gem.  The fact that it didn't say it 
was doing a bulk download indicates that the user cache was still present.

Try again and blow both caches away.

Sorry, I should have been more explicit.

Note to self ... perhaps the gem command needs a clear cache subcommand?

-- 
-- Jim Weirich      [EMAIL PROTECTED]     http://onestepback.org
-- In theory, practice and theory are the same.
-- In practice, they are different.
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to