To get postgres setup with mac’s postgres.app - gem install pg ‘0.17.1’ – –with-pg-config=/Applications/Postgres93.app/Contents/MacOS/bin/pg_config