Se Rails non trova il server, probabilmente sta cercando un socket Unix che Postgres.app non usa. Puoi forzare la connessione TCP in database.yml:
development:
adapter: postgresql
encoding: unicode
database: my_app_development
pool: 5
username: tony
password: stark
host: localhost
port: 5432Con host: localhost Rails evita il socket mancante.