2017-08-04 102 views
2

通过自制安装冰,我得到了一些错误如下:通过BREW错误上安装冰

➜〜冲泡安装zeroc冰/水龙头/冰

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! 
+0

它看起来像brew不能安装冰的依赖关系, –

回答

3

我没有看到这个做。是自制的最新?运行:

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

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

+1

谢谢! 我通过运行解决了它:➜〜sudo/usr/bin/gem uninstall minitest –