In Rails, Couldn't create database for {“adapter”=>“postgresql”,

前端 未结 9 2126
醉话见心
醉话见心 2020-12-14 03:34

I\'m trying to run rake db:create or rake db:setup but I get the following error. It\'s strange because rake db:create it\'s working f

9条回答
  •  误落风尘
    2020-12-14 04:20

    In my case this was all I needed: https://dba.stackexchange.com/a/75221

    pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
    

提交回复
热议问题