cod*_*ily 5 ruby macos homebrew macos-catalina
这是一些信息:
在 Homebrew 页面上运行安装命令时,出现以下错误:
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
################################################ 24.1%
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Checksum mismatch.
Expected: b065e5e3783954f3e65d8d3a6377ca51649bfcfa21b356b0dd70490f74c6bd86
Actual: be732ceabd97bbe69929621075c00c2e1709e30b8ab9a9ba3b7064a14ad6bbff
Archive: /Users/e113991/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.
Error: Failed to install Homebrew Portable Ruby (and your system version is too old)!
Failed during: /usr/local/bin/brew update --force --quiet
Run Code Online (Sandbox Code Playgroud)
跑步brew doctor让我想起:
Error: Failed to install Homebrew Portable Ruby (and your system version is too old)!
Run Code Online (Sandbox Code Playgroud)
请注意,它正在安装 Yosemite,而不是 Catalina。为什么?我尝试git clone将其复制到我的 usr/local 目录,但我没有写入权限。我尝试了 Stack Overflow 上的所有其他解决方案,但均无济于事。
小智 1
我在尝试在 Macbook 上安装时遇到了同样的问题(Mojave 10.14.6 XCode 11.3 CLT 11.3)。
对我来说,事实证明,brew 对互联网的访问被后台防火墙在没有通知的情况下阻止了。只需添加一条规则就可以了。
| 归档时间: |
|
| 查看次数: |
5840 次 |
| 最近记录: |