在 Ubuntu 下 按照 wiki 里步骤安装 出现这个后就安装不下去了
admini@123clb:~$ ruby -v ruby 1.9.2p320 (2012-04-20 revision 35421) [i686-linux] admini@123clb:~$ gem -v 1.8.23 admini@123clb:~$ gem source -r http://rubygems.org/ source http://rubygems.org/ not present in cache
admini@123clb:~$ gem source -a http://ruby.taobao.org
/home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': no such file to load -- zlib (LoadError)
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems.rb:540:in gunzip'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:239:in
fetch_path'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:269:in load_specs'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/commands/sources_command.rb:72:in
execute'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in invoke'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in
process_args'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in run'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in
run'
from /home/admini/.rvm/rubies/ruby-1.9.2-p320/bin/gem:25:in `
大家帮忙给看下,折腾一个晚上了。