`gem_original_require': no such file to load -- zlib (LoadError)(转发)

上一篇 / 下一篇  2010-07-15 13:02:57 / 个人分类:转发

`gem_original_require': no such file to load -- zlib (LoadError)


转发:http://www.redmine.org/boards/2/topics/10032

romuald FREBAULT7 个月 之前添加

I wanted to install redmine on a centos 5.3.
As ruby 1.6/1.7 packages are not availables on this distribution, i had to download and compile the ruby 1.7 sources.

I installed rubygems sources

This error happened when i tried to make a

gem install rails

To solve it i had to do a

yum install zlib-devel 

then in /opt/ruby/ext/zlib/(即源码目录的ext/zlib下 )

  ruby extconf.rb
make && make install

everything is good now!!!


TAG:

 

评分:0

我来说两句

Open Toolbar