“PG::ConnectionBad” error when running local rails server

If I’m getting the error when trying to run a local server, “PG::ConnectionBad”, try running this then restart server:

rm /usr/local/var/postgres/postmaster.pid

Last updated