【问题标题】:Trouble installing Ruby (Failed to download resource "readline--patch")安装 Ruby 时遇到问题(无法下载资源“readline--patch”)
【发布时间】:2016-11-28 19:43:45
【问题描述】:

我在尝试安装 Ruby 时遇到此错误。我试过查看thisthis 但无济于事

➜  ~ brew install ruby
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Installing dependencies for ruby: readline, libyaml, makedepend
==> Installing ruby dependency: readline
==> Downloading https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz
==> Downloading from http://mirror.team-cymru.org/gnu/readline/readline-6.3.tar.gz
######################################################################## 100.0%
==> Downloading https://gist.githubusercontent.com/jacknagel/d886531fb6623b60b2af/

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "readline--patch"
Download failed: https://gist.githubusercontent.com/jacknagel/d886531fb6623b60b2af/raw/746fc543e56bc37a26ccf05d2946a45176b0894e/readline-6.3.8.diff

【问题讨论】:

  • 请将纯文本错误作为纯文本发布在您的问题正文中。人们通常难以处理图像:其中的文本不能复制粘贴到答案中或用于测试。
  • 在安装 python3 时遇到同样的问题

标签: ruby download installation http-status-code-404 homebrew


【解决方案1】:

我在 Mac 上安装 Ruby 时遇到了同样的问题。也许你可以尝试以下步骤来解决这个问题,它对我有用:)

  1. 更新您的 brew,在终端提示符处粘贴 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"。 (或遵循brew主页上的说明)或只是brew update
  2. 运行brew install ruby

祝你好运! :)

【讨论】:

  • 谢谢!这对我有用!我执行了第一步,然后rvm install 2.3.3
猜你喜欢
  • 1970-01-01
  • 2015-03-13
  • 2014-04-20
  • 1970-01-01
  • 2012-07-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多