From: Luis Lavena Date: 2009-12-06T07:50:06+09:00 Subject: Re: gems installation - invalid gem format On Dec 4, 6:16 pm, Serguei Cambour wrote: > 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] > Can you remove 1.8/cache folder and try again? This time, please execute the install command using --debug -V options, which will provide us enough information to see where the problem is. Thank you, -- Luis Lavena