From: Lars Date: 2008-01-30T21:44:58+09:00 Subject: Re: error installing using rubygem On Jan 29, 9:32 pm, Sanjay Patel wrote: > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require': no such file to load -- zlib (LoadError) First hit: http://www.google.com/search?q=no%20such%20file%20to%20load%20--%20zlib As the error says, you don't have zlib module for ruby. I guess that you didn't have the development files for zlib installed when you compiled ruby and the module was therefore simply not compiled and installed. Same goes with other extensionssuch as readline, openssl, etc.