$ curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install > install.rb
してから
$ ruby -d install.rb
する