invalid gem format for webrat 0.4.4 ?

13 views
Skip to first unread message

Ahsan Ali

unread,
May 16, 2009, 1:21:10 AM5/16/09
to webrat
Hi,

Using rubygems 1.3.3 I tried to install webrat 0.4.4, I get the
following error:

ERROR: Error installing webrat:
invalid gem format for /usr/lib/ruby/gems/1.8/cache/webrat-0.4.4.gem

The gem also does not open with tar.

My gem sources are set to gems.rubyforge.org and gems.github.com

Has anyone else faced the same problem ?

Thanks,
Ahsan

artem

unread,
Jun 7, 2009, 6:15:57 PM6/7/09
to webrat
I had the same problem. Fixed by installing libxml2-devel and libxslt-
devel. If you run 'gem install webrat' instead of 'rake gems:install'
it'll give you a hint of what is missing

Artem.
Reply all
Reply to author
Forward
0 new messages