I've just updated to Yosemite and my postgres version won't work, I'm receiving the following message from rails:
could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Even that I've started the server several times with
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
I'm trying to unlink postgreSQL from homebrew and reinstall, but I don't know if it will work.