I’m using Linux with Fedora Core 2. I decided last night I want to try
and install ruby and rails. Ruby installed very easily, it was a lot
less painless than I thought. Next I needed to install Gems, upon
attempting to install Gems I realized I also don’t have zlib-0.6.0. I
followed directions (
http://wiki.rubyonrails.com/rails/pages/RailsOnFedora) and used “sudo
yum install zlib-devel”. This installation was successful.
After thinking I had zlib installed I decided to try and install
Gems…packages all extract correctly, but installing I run into these
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a
No library stubs found.
require__': no such file to load -- zlib (LoadError) from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
require' from /root/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1 from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
manage_gems' from /home/httpd/vhosts/cambridgecreative.net/httpdocs/rubygems-0.8.11/./post-install.rb:64:ininstall_sources’
instance_eval' from setup.rb:583:intry_run_hook’
run_hook' from setup.rb:1315:inexec_task_traverse’
exec_install' from setup.rb:887:inexec_install’
invoke' from setup.rb:674:ininvoke’
`require__’: no such file to load – zlib (LoadError)
Any ideas what my problem can be? I thought this Rails installation was
going to be easy but now that I’m about 5 hours deep I am rethinking
that…Any help you can give me would be much appreciated.
Thanks a lot.