2017-08-04 120 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 –