标签:
$ sudo rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
如果出现error: unable to create file Library/Homebrew/README.md (Permission denied)之类的异常,就使用
$ sudo chown -R $USER /usr/local
$ sudo chown -R $USER /usr/local; brew update
OS X 升级Ruby
brew install ruby
ror 使用步骤
http://api.rubyonrails.org/
OS X上修复The current contents of /usr/local are bin Cellar
标签:
原文地址:http://www.cnblogs.com/imcac/p/5845007.html