From: Rida Al Barazi Date: 2006-07-05T17:29:05+09:00 Subject: Re: Problem installing gem ------=_Part_51375_12657281.1152088141519 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/5/06, Alex Gian wrote: > > Hi, first post here, hope it's the right forum. > > I recently tried to install RoR on two systems, both RedHat9, very > similar configurations, although the one is a server (hence remote > installation) the other a desktop. > > On the desktop, the installation was fine, and I got to my test screen > on port 3000 without problems. > > On the server, the system has got stuck on the gem installation, and I > would like it to get unstuck! ;) > > Here is what ruby setut.rb gives: > > ======================================================= > >>> [...snip] > install timer.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems > install user_interaction.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems > install validator.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems > install version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems > <--- lib/rubygems > <--- lib > > As of RubyGems 0.8.0, library stubs are no longer needed. > Searching $LOAD_PATH for stubs to optionally delete (may take a > while)... > ...done. > No library stubs found. > > >>> [...normally, at this point it would say OK on a good installation...] > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require': no such file to load -- zlib (LoadError) > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:9 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:93:in > `manage_gems' > from > /noncrit/downloads/ruby/rubygems-0.9.0/./post-install.rb:70:in > `install_sources' > from > /noncrit/downloads/ruby/rubygems-0.9.0/./post-install.rb:81:in > `try_run_hook' > from setup.rb:577:in `run_hook' > from setup.rb:1315:in `exec_task_traverse' > from setup.rb:1168:in `exec_install' > from setup.rb:887:in `exec_install' > from setup.rb:705:in `invoke' > from setup.rb:674:in `invoke' > from setup.rb:1352 > > ======================================================= > > Can anyone give any pointers? > BTW, I also tried getting rubygem-0.9.0, but it gave exactly the same > problem. > > Seems to me it's not finding some file it needs, but I don't understand > enough to see which one it is (or even IF that's the prob) > > Thanks people... > > -- > Posted via http://www.ruby-forum.com/. > > Not sure about this but it seems that either it's not able to find your zlib, or it is not even installed, try to install zlib ruby bindings (libzlib-ruby), and the zlib library itself. -- Thank you and kind regards Rida Al Barazi http://www.ridaalbarazi.com ------=_Part_51375_12657281.1152088141519--