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

前端 未结 9 2137
醉话见心
醉话见心 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:05

    Simple add host: localhost to your database.yml

    For more detail please visit rake db:create:all fails to connect to PostgreSQL database

提交回复
热议问题