Use an updated homebrew gist URL (thanks obsinisize).
Also recommend installing ruby 1.9.