PG::ConnectionBad: could not connect to server: No such file or directory

Here is my database.yml

PostgreSQL. Versions 8.2 and up are supported.

Why are you trying to open a database called bli1? What psql command
are you using?

Is this running on a local computer or on Heroku or similar?