为什么在安装Ruby 1.9.3时出现404错误? [英] Why do I get a 404 error installing Ruby 1.9.3?
问题描述
我最近擦拭了计算机(OS- Mac OS X 10.6.8),并重新安装了所有开发工具. 我再次安装了RVM;但是,它不会让我安装Ruby 1.9.3.
I recently had my computer (OS- Mac OS X 10.6.8) wiped and I am re-installing all my development tools. I have RVM installed once again; however, it won't let me install Ruby 1.9.3.
到目前为止,我已经尝试过:
So far I have tried:
-
rvm install 1.9.3
-
rvm install 1.9.3-p194
-
rvm install 1.9.3-p448
-
rvm install 1.9.3 --with-gcc=clang
rvm install 1.9.3
rvm install 1.9.3-p194
rvm install 1.9.3-p448
rvm install 1.9.3 --with-gcc=clang
全部返回相同的命令行错误:
All returning the same command line error:
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.6/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Warning: port definitions are more than two weeks old, consider using selfupdate
Certificates in '/opt/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /home/kjbradley/.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: (7) couldn't connect to host
There was an error(7), please check /home/kjbradley/.rvm/log//*.log
There has been an error fetching the ruby interpreter. Halting the installation.
推荐答案
Ruby-Lang.Org服务当前已关闭.状态为 http://www.ruby- lang.org/en/news/2013/08/06/status-issue/
The Ruby-Lang.Org service is currently down. Status is at http://www.ruby-lang.org/en/news/2013/08/06/status-issue/
在 https:上更及时地更新和使用镜像指南://github.com/ruby/www.ruby-lang.org/issues/259
最终状态页面指示服务已备份.我也成功地运行了rvm install 1.9.3
FINAL The status page indicates the service is back up. I also just successfully ran rvm install 1.9.3
这篇关于为什么在安装Ruby 1.9.3时出现404错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!