在使用:rvm install 2.7.1安装了所需的ruby版本并安装了所有的gem之后,我计划使用rails db:create创建数据库,但是我得到了这个错误: could not connectPG::ConnectionBad: could not connect to server: Connection refused adapter: p
我试着把新的应用程序推到heroku,然后运行这个错误PG::ConnectionBad: could not connect to server: Connection refused。这是我的宝石档案,跟那有关系吗?我用的是胡闹和离题。我不确定,因为这是我第一次尝试在heroku使用狂欢节,但它似乎没有通过。如能提供任何帮助,将不胜感激。' gem 'spring'