Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing ant on macos with brew gone wrong?

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

I'm trying to install ant on my mac with brew ... I'm i doing something wrong?

like image 959
Aleksandrenko Avatar asked Dec 31 '13 17:12

Aleksandrenko


1 Answers

You should first try to make an update of brew:

brew update

If this does not work, have a look here for alternative installation: https://superuser.com/questions/610157/how-do-i-install-ant-on-os-x-mavericks

like image 135
Kevin Brechbühl Avatar answered Sep 20 '22 18:09

Kevin Brechbühl