我在使用rails应用程序安装 SOLIDUS gem时遇到问题。我按照GitHub的说明操作,但是当我运行命令bundle exec rake db:migrate
时,我收到错误:
mannay:testsite mannay$ bundle exec rake db:migrate
rake aborted!
PG::ConnectionBad: fe_sendauth: no password supplied
/usr/local/var/rbenv/versions/2.5.0/bin/bundle:23:in `load'
/usr/local/var/rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
我尝试将username: mannay
添加到我的database.yml甚至是password:
,但它不起作用。我想也许我已经添加了一个我不记得的密码,所以我打开了postgressapp,并测试了
ALTER USER mannay with password 'new_password';
但它不会改变任何东西。
有什么想法吗?