data345
(data345@gmail.com)
1
I'm running CentOS 5.
So far I've downloaded tarballs, ruby-1.8.6.tar.gz and
rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and
maybe rubygems
I went into rubygems-0.9.4 directory, and typed:
ruby setup.rb
The first error I get is:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in
`require': no such file to load -- zlib (LoadError)
The file remote_fetcher.rb does exist in the path specified above. I
checked to see if the zlib library was installed, it is.
Suggestions?
I'm willing to use another method to install (yum?), if necessary.
=== Al
Try
yum install zlib zlib-devel
data345@gmail.com wrote:
Gene_Tani
(Gene Tani)
3
I've never used CentOS, but here's a lsit of most commonly forgotten
libs to install:
http://groups.google.com/group/ruby-talk-google/browse_thread/thread/bb8c1fdb8837d4b2/
then the most common stumbling blocks after that are installing MySQL /
postgres , readline, SSL and rmagick (i think)
then the most common stumbling blocks after that are installing MySQL /
postgres , readline, SSL and rmagick (i think)
For rmagick, be sure to have the ghostscript-fonts.noarch yum package installed first... at least if you've compiled imagemagick to use freetype...
That one bit me today...
yum install ghostscript-fonts.noarch
mikong
(mikong)
5
data345
(data345@gmail.com)
6
The problem I'm stuck with continues to be the zlib error. I've
yum install zlib zlib-devel
successfully.
However, I still get the error:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in
`require': no such file to load -- zlib (LoadError)
Bummer.
=== Al
Can you paste in the first 10 or so lines of
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4
wrote: