尝试将数据库推送到 heroku 时,我突然开始看到这个奇怪的错误。
> heroku db:push
Auto-detected local database: postgres://infinity:infinity@localhost/infinity_development?encoding=utf8
Failed to connect to database:
Sequel::DatabaseConnectionError -> TypeError wrong argument type String (expected Array)
我的应用程序运行良好 - 凭据均在本地设置。