Adaptador Postgresql (pg): não foi possível conectar ao servidor

Eu recebo este erro todo isso eu corro meu aplicativo Rails (Itnão pode se conectar ao meu Postgresql local)

/Users/leonardo/.rvm/gems/ruby-1.9.3-p362/gems/activerecord-3.2.11/lib/
active_record/connection_adapters/postgresql_adapter.rb:1208:in `initialize': 
could not connect to server: No such file or directory (PG::Error)
   Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

estou a usarPostgres.app que está funcionando corretamente.

Se eu correr

$ psql

Eu posso fazer o login corretamente no console do Postgresql.

$ which psql
 /Applications/Postgres.app/Contents/MacOS/bin/psql

Gemfile

source 'https://rubygems.org'
ruby "1.9.3"

gem 'rails', '3.2.11'
gem "pg"

database.yml

development:
  adapter: postgresql
  encoding: unicode
  username: leonardo
  password: 
  database: zapping
  port: 5432  

Postgresql (Console)

$ psql
leonardo=# \l

questionAnswers(14)

yourAnswerToTheQuestion