ERROR: While executing gem … (Zlib::BufError)

Problem:

Recently I was trying to update the rails gem (to rails 2.2 specifically). However, it threw an error everytime: ERROR: While executing gem … (Zlib::BufError).

Solution:

I’ve figured that the solution is to
1. gem update –system
2. gem install update_rubygems
3. update_rubygems

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s