- Homebrew Error: No formulae found in taps
解决方法:
git -C $(brew --repo homebrew/core) checkout master
brew doctor
- permission
~ % gem install bundle
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
参考:https://stackoverflow.com/questions/57003932/riod-ios-error-you-dont-have-write-permissions-gemfilepermissionerror
looks like you are using the system Ruby that ships with MacOS. In order for this to work you would need to try running these commands with sudo. You can also try installing Ruby with
RVM(https://rvm.io/)
then running those same commands without sudo
RVM makes it very easy. Run this from your terminal:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
This command will install RVM and the latest stable Ruby version now 2.6.3
本来想下RVM,但是又有权限问题,直接sudo了,请大家不要学我,看看原文。