When I attempt to run \"rake test\" on a local postgres database, it throws the above exception.
Here is my pg_hba.conf file: # Database administrative login by
I had this problem, solved by a coworker: You need to set a local user and password in postgres
createuser --interactive --pwprompt
It will ask you for the name of the role (the user) and the password you want to have.
Then you have to add this username and password to your database.yml file