This gist is for installing PostgreSQL using Hombrew and the luncy gem.
$ brew install postgresql
When you install Postgres, you will see a bunch of output in your Terminal. The important sections are Build Notes, Create/Upgrade a Database, and Start/Stop PostgreSQL. Make sure to follow those instructions to the letter.
Create and upgrade a DB