ubuntu 11.10
~$ gem source -a http://ruby.taobao.org 这个命令后出现如下返回:
ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- zlib (LoadError) from
ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
同样的问题还有:rb:540:in gunzip'
rb:239:in
fetch_path'
rb:269:in `load_specs‘等等
ruby 版本是这个
~$ ruby -v
ruby 1.9.3p374 (2013-01-15 revision 38858) [i686-linux]
@ubuntu:~$ gem -v 1.8.25
@ubuntu:~$ rvm -v
rvm 1.18.5 (stable) by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.io/]
请问我的安装有问题吗? 需要怎么修正?