通过brew错误安装冰

时间:2017-08-04 14:46:16

标签: ruby homebrew ice

通过Homebrew安装Ice,我得到了一些错误如下:

➜~brew install 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!

1 个答案:

答案 0 :(得分:3)

我不明白这一点。 Homebrew是最新的吗?运行:

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

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