https://github.com/Homebrew/legacy-homebrew/issues/49879
sudo chown -R $(whoami):admin /usr/local
cd $(brew --prefix) && git fetch origin && git reset --hard origin/master
then I could
brew update
and carry on as normal.
在尝试使用Homebrew时遇到了'kernel_require.rb:55:in `require': cannot load such file -- mach (LoadError)'的问题。通过查阅GitHub上的issue #49879,找到了解决方案,按照建议操作后可以正常继续使用。
https://github.com/Homebrew/legacy-homebrew/issues/49879
sudo chown -R $(whoami):admin /usr/local
cd $(brew --prefix) && git fetch origin && git reset --hard origin/master
then I could
brew update
and carry on as normal.
2521
2025
588
8117

被折叠的 条评论
为什么被折叠?