码迷,mamicode.com
首页 > 其他好文 > 详细

OS X上修复The current contents of /usr/local are bin Cellar

时间:2016-09-06 12:20:19      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:

$ 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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!