rake db:setup results in fe_sendauth no password supplied
It's a database connectivity issue.
Try to connect directly with the database that ur using. If it is asking password then you should use same password in database.yml file.
Check this link http://guides.rubyonrails.org/configuring.html#configuring-a-postgresql-databaseand Ruby on Rails: How can i edit database.yml for postgresql?
Hoping this links help you
My friend, I was have the same problem. My solution was added the credentials for each environment and enable the host in th value localhost..
like this:
development:<<: *defaultdatabase: SM_developmentusername: userpassword: xxxxhost: localhosttest:<<: *defaultdatabase: SM_testusername: userpassword: xxxxxxproduction:<<: *defaultdatabase: SM_productionusername: userpassword: xxxxxx
try specifying which rails environment you want to do this for, like:
RAILS_ENV=test rake db:setup