sudo vim .bash_profile
add :export PATH=/usr/local/bin:$PATH
save : source .bash_profile to make change work。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
use brew again , it will workl
sudo vim .bash_profile
add :export PATH=/usr/local/bin:$PATH
save : source .bash_profile to make change work。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
use brew again , it will workl