Postgres on Rails FATAL: database does not exist

后端 未结 4 2018
离开以前
离开以前 2020-12-28 12:45

I\'ve reinstalled Postgres (9.2.4) and I\'m having trouble getting it set back up with Rails 3.2.11. I did:

brew install postgresql
initdb /usr/local/var/po         


        
4条回答
  •  [愿得一人]
    2020-12-28 13:38

    I tried running rake db:create:all, which didn't work. However, running bundle exec rake db:create:all worked for me.

    Hope this helps!

提交回复
热议问题