Postgres PG::ConnectionBad Error message: PG::ConnectionBad: no such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? Solution: rm /usr/local/var/postgres/postmaster.pid