首页 > 代码库 > OS X上修复The current contents of /usr/local are bin Cellar
OS X上修复The current contents of /usr/local are bin Cellar
$ 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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。