« Return to Thread: Install rubygems error

Re: Install rubygems error

by Chad Fowler :: Rate this Message:

Reply to Author | View in Thread

On 3/31/06, Stuart Batty <stuart.batty@...> wrote:
>
> I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended
> to upgrade to rails 1.1. I have now completely borked my ruby gems
> installation. After installing ruby I get the following error when trying to
> execute gem:
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require__': no such file to load -- zlib (LoadError)
> Can anyone help me get my rails back? I swear I'll never try to upgrade
> again..:-)

You don't appear to have ruby's zlib module installed.  You can find
out by doing:

$ irb
rirb(main):001:0> require 'zlib'
=> true

You will probably see an error instead of "true".  Did you install
Ruby from source?

--
Chad Fowler
http://chadfowler.com
http://pragmaticprogrammer.com/titles/fr_rr/ (Rails Recipes - In Beta!)
http://pragmaticprogrammer.com/titles/mjwti/ (My Job Went to India,
and All I Got Was This Lousy Book)
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over one million gems served!)
_______________________________________________
Rails mailing list
Rails@...
http://lists.rubyonrails.org/mailman/listinfo/rails

 « Return to Thread: Install rubygems error