我花了很长时间,但我仍然没有解决我安装 Homebrew 的问题的解决方案。
当我输入ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
时,我得到:
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
Ok
我输入rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
了,得到了这个错误:
rm: /usr/local/Cellar: Directory not empty
当我进入这个目录时,没有文件。如何删除该目录?
我也试过了sudo rm -rf /usr/local/Cellar
。