Rails PG::ConnectionBad: fe_sendauth: no password supplied

February 6, 2016 2.8k views
Ruby on Rails Ruby

hi

I have a problem

when i do rails c and try to see some model example Post.all or try to do a RAILS_ENV=production rake db:migrate

show my this PG::ConnectionBad: fe_sendauth: no password supplied

But my app work fine in the browser

3 comments
2 Answers

i have the same problem with the ubuntu 16 raisl on click

Have another answer? Share your knowledge.