Skip to content

Instantly share code, notes, and snippets.

@arvindvyas
Created September 10, 2016 19:32
Show Gist options
  • Save arvindvyas/5bd1a9c37d9598f1c5ece3d9b1138f29 to your computer and use it in GitHub Desktop.
Save arvindvyas/5bd1a9c37d9598f1c5ece3d9b1138f29 to your computer and use it in GitHub Desktop.
/Users/Topform/.rvm/gems/ruby-2.2.1@bodyboss/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `initialize': could not connect to server: No such file or directory (PG::ConnectionBad)
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
solve by
rm /usr/local/var/postgres/postmaster.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment