[bash] Pipe homebrew curl to ruby