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

标签 ruby-on-rails ruby installation rvm version

我最近对我的计算机 (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/

相关文章:

javascript - 当客户从另一台计算机(使用 Rails)添加预订时,如何让页面显示预订更新?

ruby-on-rails - 删除带有@符号的RVM Gemset

ruby-on-rails -/config/initializers/secret_token.rb 未生成。为什么不?

ruby - 为什么在 ruby​​/rails/activerecord 中并不总是需要 self?

linux - 如何在没有扩展名的情况下运行linux命令

mysql - Mac使用终端安装和打开mysql

python - Scrapy 安装失败,出现错误 'cannot open include: ' openssl/aes.h '

ruby-on-rails - Rails,如何在设定的时间(早上)获得 1.day.from_now?

ruby-on-rails - Rails 最好的后台作业管理库是什么?

具有多个变量的 Ruby case 语句