This is installed on CentOS 5.2.

I have installed Ruby 1.8.7

I downloaded and expanded Gem Manager 1.3.1 and Rails 2.1.2

I tried to install Rails using this:

gem install rails --include-dependencies

The result is this:


I understood that zlib was built into Ruby 1.8.7. Apparently not. So, I
read about it and it was suggested that I manually build zlib. So, I
downloaded ruby-zlib-0.6.0. Per the instructions, I ran this command:

ruby extconf.rb && make && make install

This is the result:

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- zlib (LoadError)

Instlling ruby-zlib

checking for deflateReset() in -lz... no
checking for deflateReset() in -llibz... no
checking for deflateReset() in -lzlib... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Can anyone provide some insight as to what I need to do to get Rails
installed?

Thank you.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to