From: Jim Weirich Date: 2005-03-29T11:07:10+09:00 Subject: Re: [ANN] RubyGems 0.8.10 On Monday 28 March 2005 08:34 pm, itsme213 wrote: > After I updated to this version: > > [C:\]gem install rails > "c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails > Attempting local installation of 'rails' > Local gem file not found: rails*.gem > Attempting remote installation of 'rails' > ERROR: While executing gem ... (ArgumentError) > parse error on line 2, col 92: > `@gems{???"?rwdtinker-1.60o:?Gem::Specification :? > @email"?steven@superant.com:?@requirements[' > > > Any idea what's going on? Can I roll back to the rubygems version I had > before? Its sounds like your source cache is either corrupted or not in the format expected. Around version 0.8.5 or so we switched from a YAML based cache to a marshalled cache (with a significant increase in speed). If you run a 0.8.5 or later version of gems and then later try to go back to a pre-0.8.5 version, the earlier version is confused by the data in the cache (post 0.8.5 versions are smart enough to just toss the cache if it looks bad. To fix, just delete the source cache file (the file named 'source_cache' in the directory reported by the 'gem env gempath' command). If you are on a unix-like OS and the source_cache is in a protected directory, you might have another copy of the source cache available in a user owned directory (probably $HOME/.gem/source_cache). Delete that copy as well. Does this help? -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)