I've managed to bork my local development environment. All my local Rails apps are now giving the error: PGError could not connect to server: Permission denied Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"? I've no idea what's caused this. While searching for a solution I've updated all bundled gems, updated system gems, updated Mac