When I try to install Homebrew, I am getting following connection refused error. Please help me to solve this problem.
$ruby -e \"$(curl -fsSL https://raw.github
These steps solved the problem:
xcode-select --install
Execute this command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and it should work.