Gems on FC5

I am moving a rails app over to lighty on fedora core 5 and have been
unable to install ruby gems.

ruby has installed successfully.
when i run ruby setup.rb in my gems folder it cuts off here…

install /tmp/gems/lib/rubygems/specification.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/config_file.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/dependency_list.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/incremental_fetcher.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/installer.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/security.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/gem_openssl.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems
install /tmp/gems/lib/rubygems/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.

/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:inrequire’
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
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
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
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:93:in
manage_gems' from /tmp/gems/./post-install.rb:70:ininstall_sources’
from /tmp/gems/./post-install.rb:81:in try_run_hook' from /tmp/gems/setup.rb:577:inrun_hook’
from /tmp/gems/setup.rb:1315:in exec_task_traverse' from /tmp/gems/setup.rb:1168:inexec_install’
from /tmp/gems/setup.rb:887:in exec_install' from /tmp/gems/setup.rb:705:ininvoke’
from /tmp/gems/setup.rb:674:in `invoke’
from /tmp/gems/setup.rb:1352

As long as you have the following packages installed (should be able to
do
so via “yum”) you should be cool:
*
ruby **
ruby-devel
**ruby-libs
**irb
*rdoc

Hope that helps.

  • James