ruby已经安装好:
$ ruby -v
ruby 2.2.1p85(2015-02-26 revision 49769) [x86_64linux]
国内服务器推荐替换 RubyGems 的到淘宝镜像:
$ gem sources --remove https://rubygems.org/
$ gem sources -a http://ruby.taobao.org/
回车后报错
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::RemoteFetcher::Zlib
按照网上教程,先安装了zlib
$ sudo apt-get install zlib1g zlib1g-dev
也从zlib.net网上下载好并安装了
然后按照教程
$cd ext/zlib
$ruby ./extconf.rb
$make
$make install
在执行步骤 $cd ext/zlib时报错
bash: cd: ext/zlib: 没有那个文件或目录
实在不知道怎么解决 求教各位大神
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) | Powered by Discuz! X3.2 |