I am trying to following instructions on homebrew homepage but the following
ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/ins
Setting proxy with Username, password and port number worked for me
export http_proxy=http://:: export https_proxy=http_proxy
After that simply execute
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"