安装rails: no such file to load zlib 错误处理 ubuntu 10.04ruby 1.8.7rubygems 1.3.7解决方法:安装zlib1g-dev包
sudo apt-get install zlib1g-dev
ruby extconf.rbmakesudo make install