【问题标题】:Why do I get a 404 error installing Ruby 1.9.3?为什么我在安装 Ruby 1.9.3 时会收到 404 错误?
【发布时间】:2013-08-06 16:47:09
【问题描述】:

我最近清理了我的计算机 (OS-Mac OS X 10.6.8),我正在重新安装我的所有开发工具。 我再次安装了 RVM;但是,它不允许我安装 Ruby 1.9.3。

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

  • 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

全部返回相同的命令行错误:

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-on-rails ruby installation rvm version


【解决方案1】:

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

【讨论】:

    【解决方案2】:

    这太蹩脚了。我对 Ruby 的开头很糟糕...

    有镜子。这行得通吗?有人知道如何手动继续 brew 安装吗?

    http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/ruby-2.0.0-p247.tar.bz2

    【讨论】:

      猜你喜欢
      • 2011-09-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多