简体   繁体   English

Macbook Pro 2020 M1 - MacOS Big Sur - Homebrew 不工作

[英]Macbook Pro 2020 M1 - MacOS Big Sur - Homebrew not working

Macbook Pro 2020 M1 - Big Sur Macbook Pro 2020 M1 - 大苏尔

I have just updated gems ( gem update ) on ruby 2.6 (System ruby version default belong to OSX Big Sur, i think so)我刚刚在 ruby 2.6 上更新了 gem( gem update )(系统 ruby 版本默认属于 OSX Big Sur,我想是的)

(My global ruby using rbenv is 2.7.2, i installed it some days ago) (我使用 rbenv 的全局 ruby 是 2.7.2,我前几天安装的)

Now when i run any command such as brew xxx (brew doctor, brew config, brew upgrade, brew update...) It give me an error like as attached image.现在,当我运行任何命令时,例如brew xxx (brew doctor, brew config, brew upgrade, brew update...) 它给了我一个错误,如附加图像。

Please can anyone help me, thanks so much!!!有谁能帮帮我,万分感谢!!!

在此处输入图像描述

MacOs has released his latest software update for macos Big sur 11.2 try updating your software MacOs 发布了他最新的 macos Big sur 11.2 软件更新 尝试更新你的软件

And if it doesn't work them approach https://discussions.apple.com如果它不起作用,他们会接近https://discussions.apple.com

Temporary i resolved my issue by uninstall all incompatible ruby gems: date , etc , io-console , bigdecimal临时我通过卸载所有不兼容的 ruby 宝石解决了我的问题:日期io-consolebigdecimal

If you care, you can refer this discussion.如果你关心,你可以参考这个讨论。 https://github.com/Homebrew/discussions/discussions/716 https://github.com/Homebrew/discussions/discussions/716

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM