$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Whoops, the Homebrew installer has moved! Please instead run:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Also, please ask wherever you got this link from to update it to the above.
Thanks!
http://docs.python-guide.org/en/latest/starting/install/osx/ says to run
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"