From: Serguei Cambour Date: 2009-12-05T06:16:47+09:00 Subject: Re: gems installation - invalid gem format Aaron Patterson wrote: > On Sat, Dec 05, 2009 at 12:22:41AM +0900, Serguei Cambour wrote: >> ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] >> serge@serge-laptop:~$ gem -v >> 1.3.5 >> I always get the above error of '...invalid gem format..'. Any idea how >> to resolve that? Something goes wrong in rubygems >> commits/dependencies?Thank you. > > Does this break with any other gem? Or is it only the heroku gem? With any other gem, even when I tried from installing Ruby, then doing (On Windows or Ubuntu - it was the same): gem update --system Updating RubyGems Updating rubygems-update ERROR: While executing gem ... (Gem::InstallError) invalid gem format for C:/Ruby/lib/ruby/gems/1.8/cache/rubygems-update-1.3.5 .gem Installing fromlocal rubygems-update-1.3.5 didn't solve the problem. Only the error message changed. Instead of invalid gem format for C:/Ruby/lib/ruby/gems/1.8/cache/rubygems-update-1.3.5 I got invalid gem format for C:/Ruby/lib/ruby/gems/1.8/cache/[gem_name] -- Posted via http://www.ruby-forum.com/.