转载 http://blog.csdn.net/starlmxx/article/details/50946643
今天安装Homebrew时用如下命令:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
出现
curl: (22) The requested URL returned error: 400 Bad Request
错误,搜了下改用如下命令就可以成功安装:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"