Error when installing homebrew with ruby

折月煮酒 提交于 2019-12-13 00:26:57

问题


Trying to install homebrew from here:

$ ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
-e:1: syntax error, unexpected ']'
[This script has been moved.][url]
                             ^

回答1:


Acessing https://raw.github.com/gist/323731 in your browser, you see

[This script has been moved.][url]

[url]:https://github.com/mxcl/homebrew/blob/master/Library/Contributions/install_homebrew.rb

But it doesn't seem to work. So use

$ ruby -e "$(curl -fsSL raw.github.com/mxcl/homebrew/go)"

instead.



来源:https://stackoverflow.com/questions/15834804/error-when-installing-homebrew-with-ruby

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!