I am currently working on a ruby on rails application and I am having problems running a RSpec test. With further drilling , i went into my terminal and tried to run the simple psql command
psql
This message cam back immediately: psql: 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"?
What is weird is when i go into my localhost: I can clearly see the database information(i.e. customer information and what not). Is there something I can do to remedy this situation?
Thanks for any help with this matter