From: Eric Hodel Date: 2008-01-12T19:26:35+09:00 Subject: Re: Problem with installing gems via rubygems. On Jan 8, 2008, at 03:04 AM, dizz wrote: > Hey I am having a problem installing rails on my ubuntu machine. I > cannot install any gems and keep on getting the following error. > > ERROR: Error installing rails: > invalid gem format for /usr/lib/ruby/gems/1.8/cache/ > activerecord-2.0.2.gem > > I have tried updating rubygems, manually installing rubygems (not > using synaptic) and still cannot get ruby gems to work. > > It would be great if anybody could give me a hand. Try deleting that file.