RVM/rbenv Ruby 的官方 FTP 挂了么?

timothyye · August 06, 2013 · Last by timothyye replied at August 06, 2013 · 8931 hits

root@MyVPS:/home/timothy# rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for: debian/7.1/x86_64/ruby-1.9.3-p448. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Installing requirements for debian, might require sudo password. Requirements installation successful. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p448, this may take a while depending on your cpu(s)... ruby-1.9.3-p448 - #downloading ruby-1.9.3-p448, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 The requested url does not exist(22): 'http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.bz2' Trying ftp:// URL instead. curl: (6) Couldn't resolve host 'ftp' There was an error(6), please check /usr/local/rvm/log//*.log There has been an error fetching the ruby interpreter. Halting the installation.

提示无法解析 ftp 主机名?

是的,挂了

#2 楼 @timothyye 用淘宝的 RubyGems 镜像 http://ruby.taobao.org/ $ sed -i 's!ftp.ruby-lang.org/pub/ruby!ruby.taobao.org/mirrors/ruby!' $rvm_path/config/db

#3 楼 @40hood 谢谢,我试试

You need to Sign in before reply, if you don't have an account, please Sign up first.