I\'m new to Ruby (coming from a Java background) and was given access to a RoR project from a Git repository. I was able to get Ruby built with rbenv and Postgres installed
I'm curious if you installed the pg gem before or after installing postgres via brew?
If pg was installed before you installed Postgres via brew, you may need to remove it and install it again so that it's compiled against your current version of Postgres.
Side note: postgresapp is a much better alternative to installing postgres via homebrew: http://postgresapp.com/