I got this message when i tried to install gfortran.
~$ brew install gfortran Error: No available formula for gfortran GNU Fortran is now provided as part of
Just do "brew install gcc" per the instructions. The gcc package contains gcc, g++, gfortran etc.