这个stackoverflow的答案解决了我的问题:

http://stackoverflow.com/questions/18039029/mac-can-t-install-homebrew

问题如下:

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

解决方案:

rm -rf /usr/local/Cellar /usr/local/.git
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

最新文章

  1. Eclipse 在ubuntu桌面显示快捷启动以及解决Eclipse 在ubuntu中点击菜单栏不起作用的原因.
  2. iOS开发关于Block代码错误
  3. ArrayList 和 LinkedList 的区别
  4. python核心编程 第二天
  5. python27+django调用数据库
  6. 【VxWorks系列】任务间同步与通信之共享内存
  7. CSS模块化
  8. Nullable类型和HashSet<T>集合
  9. HDOJ 2017 字符串统计
  10. 前端 TDD 开发
  11. group by 多字段分组
  12. Aurora 论坛图片下载
  13. 使用Node.js+Hexo+Github搭建个人博客
  14. spark优化参数调节和故障参数调节
  15. 页面布局 ——图片自动按比例显示&&图片随外部div的增大而按比例增大
  16. 使用IEDriverServer.exe驱动IE11,实现自动化测试
  17. vi/vim 文字处理器常用命令
  18. java的impl
  19. [Backbone]2. More detail in Models
  20. VMware虚拟机安装Centos7图文教程

热门文章

  1. Scrapy爬虫报错:ModuleNotFoundError: No module named 'win32api'
  2. Couldn't connect to host, port: smtp.163.com, 25; timeout -1;
  3. Windows命令行bat批处理延迟sleep方法
  4. [SDOI 2008] 洞穴勘测
  5. 移动端网页巧用 margin和padding 的百分比实现自适应
  6. delphi 2010 启动卡死,过一段时间后出现“displayNotification:堆栈溢出 怎么解决?
  7. http://www.cnblogs.com/Javame/p/3632473.html
  8. python property的2种使用方法
  9. HTTP请求头中的那些东西
  10. apcloud混合式开发app学习笔记