homebrew 无法安装,提示不能在根目录下使用
BUG:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
解决问题方法:
1、sudo chown -R $(whoami) /usr/local
2、brew install thrift(此处不需要sudo)