nma-2:test nikolaialeksandrenko$ brew install ant
==> Downloading http://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.0-bin.tar.gz
==> Best Mirror http://apache.igor.onlinedirect.bg/ant/binaries/apache-ant-1.9.0-bin.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed: http://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.0-bin.tar.gz
我正在尝试使用brew在我的mac上安装ant ... 我做错了什么?
答案 0 :(得分:17)
您应首先尝试更新brew:
brew update
如果这不起作用,请查看此处的替代安装:https://superuser.com/questions/610157/how-do-i-install-ant-on-os-x-mavericks