gpt4 book ai didi

ruby-on-rails - 为什么在安装 Ruby 1.9.3 时出现 404 错误?

转载 作者:数据小太阳 更新时间:2023-10-29 07:12:51 24 4
gpt4 key购买 nike

我最近对我的计算机 (OS-Mac OS X 10.6.8) 进行了删除,并且我正在重新安装我所有的开发工具。我再次安装了 RVM;但是,它不会让我安装 Ruby 1.9.3。

到目前为止我已经尝试过:

  • rvm install 1.9.3
  • rvm 安装 1.9.3-p194
  • rvm 安装 1.9.3-p448
  • rvm install 1.9.3 --with-gcc=clang

所有返回相同的命令行错误:

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/

编辑:在 https://github.com/ruby/www.ruby-lang.org/issues/259 更及时地更新和使用镜像指南

最终编辑:状态页面指示服务已备份。我也刚刚成功运行 rvm install 1.9.3

关于ruby-on-rails - 为什么在安装 Ruby 1.9.3 时出现 404 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18085923/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com