【发布时间】:2013-11-20 19:32:02
【问题描述】:
按照 Homebrew 安装指南的规定,我在终端中输入以下内容:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
它吐出的内容如下:
-e:4: syntax error, unexpected '<'
<!DOCTYPE html>
^
-e:5: syntax error, unexpected '<'
<html>
^
-e:7: syntax error, unexpected '<'
<meta charset='utf-8'>
^
-e:8: syntax error, unexpected '<'
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
-e:8: syntax error, unexpected tIDENTIFIER, expecting end-of-input
<meta http-equiv="X-UA-Compatible" content="IE=edge">
此时,运行任何 brew 命令都会返回以下内容:
-bash: brew: command not found
对解决方案有任何想法吗?谢谢。
【问题讨论】:
-
您在哪里找到这些说明?它似乎是安装页面的旧版本中存在的 URL,但最近没有。