gpt4 book ai didi

homebrew - 我尝试安装的任何木桶均出现 "No available cask"错误

转载 作者:行者123 更新时间:2023-12-02 21:45:56 26 4
gpt4 key购买 nike

嗯,我刚刚更新了我的 brew 并在执行 brew tap phinze/cask 命令后在我的机器上安装了 brew-cask 公式。然后我用brew cask install vagrant来安装Vagrant,它突然弹出:Error: No available cask for vagrant。试图找出问题所在时,我发现任何桶都失败,brew 桶搜索 都不起作用。

我错过了什么步骤吗?不应该有效吗?

我的brew cask doctor输出:

==> OS X Version:
10.9.2
==> Hardware Architecture:
intel-64
==> Ruby Version:
1.8.7-p358
==> Ruby Path:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Homebrew Version:
0.9.5
==> Homebrew Executable Path:
/usr/local/bin/brew
==> Homebrew Cellar Path:
/usr/local/Cellar
==> Homebrew-cask Version:
0.32.0
==> Contents of $LOAD_PATH:
/usr/local/Cellar/brew-cask/0.32.0/rubylib
/usr/local/Library/Homebrew
/usr/local/Library/Homebrew/vendor
/Library/Ruby/Site/1.8
/Library/Ruby/Site/1.8/powerpc-darwin13.0
/Library/Ruby/Site/1.8/universal-darwin13.0
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8/universal-darwin13.0
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/powerpc-darwin13.0
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin13.0
.
==> Contents of $RUBYLIB Environment Variable:
nil
==> Contents of $RUBYOPT Environment Variable:
nil
==> Contents of $RUBYPATH Environment Variable:
nil
==> Contents of $RBENV_VERSION Environment Variable:
nil
==> Contents of $GEM_HOME Environment Variable:
nil
==> Contents of $GEM_PATH Environment Variable:
nil
==> Contents of $BUNDLE_PATH Environment Variable:
nil
==> Running As Privileged User:
No

最佳答案

所以这是有问题的(问题 #4032 ),他们通过 Homebrew Cask 0.33.0 版本修复了这个不受欢迎的问题。

要更新,只需运行 brew update && brew Upgrade brew-cask 一切都会正常工作。 :)

关于homebrew - 我尝试安装的任何木桶均出现 "No available cask"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23305542/

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