【问题标题】:install ice on by brew error通过 brew 错误安装 ice
【发布时间】:2017-08-04 14:46:16
【问题描述】:

通过 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!

【问题讨论】:

  • 看来brew无法为ice安装依赖,

标签: ruby homebrew ice


【解决方案1】:

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

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

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

【讨论】:

  • 谢谢!我通过运行解决了它:➜ ~ sudo /usr/bin/gem uninstall minitest
猜你喜欢
  • 2015-05-16
  • 2015-04-10
  • 2016-11-28
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-12-31
相关资源
最近更新 更多