gpt4 book ai didi

ruby - 通过 brew 错误安装 ice

转载 作者:数据小太阳 更新时间:2023-10-29 08:43:06 25 4
gpt4 key购买 nike

通过 Homebrew 安装 Ice,出现如下错误:

➜ ~ brew 安装 zeroc-ice/tap/ice

Tapping zeroc-ice/tap

Cloning into '/usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap'...
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 21 (delta 7), reused 7 (delta 4), pack-reused 0
Unpacking objects: 100% (21/21), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php56-ice.rb
undefined method `assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php56-ice37b0.rb
undefined method `assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php70-ice.rb
undefined method `assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php70-ice37b0.rb
undefined method `assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php71-ice.rb
undefined method `assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php71-ice37b0.rb
undefined method `assertions' for main:Object
Error: Cannot tap zeroc-ice/tap: invalid syntax in tap!

最佳答案

我没看到。 Homebrew 是最新的吗?运行:

brew tap homebrew/php
brew update
brew upgrade
brew install zeroc-ice/tap/ice

如果这不起作用,brew config 的输出是什么?

关于ruby - 通过 brew 错误安装 ice,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45509725/

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