Ruby on Rails部署到Heroku时,rake assets:precompile报错,如何解决无法连接PostgreSQL的问题?
- 内容介绍
- 文章标签
- 相关推荐
本文共计248个文字,预计阅读时间需要1分钟。
在尝试使用git将应用程序推送到Heroku时,遇到了以下特定错误:`remote: Running: rake assets:precompile remote: PG::ConnectionBad: could not connect to server: Connection refused remote: Is the server running on host '127.0.0.1'`。这通常意味着无法连接到本地数据库服务器。
本文共计248个文字,预计阅读时间需要1分钟。
在尝试使用git将应用程序推送到Heroku时,遇到了以下特定错误:`remote: Running: rake assets:precompile remote: PG::ConnectionBad: could not connect to server: Connection refused remote: Is the server running on host '127.0.0.1'`。这通常意味着无法连接到本地数据库服务器。

