Heroku的DB:拉导致类型错误

问题描述:

当运行heroku db:pull,我立刻看到此错误:Heroku的DB:拉导致类型错误

Failed to connect to database: 
    Sequel::DatabaseConnectionError -> TypeError: wrong argument type nil (expected Hash) 

即使添加了--debug标志不显示任何额外的东西。

  • heroku上的Heroku-工具区/ 2.35.0(x86_64的-darwin10.8.0)红宝石/ 1.9.3
  • 抽头0.3.24
  • 红宝石2.0.0-P0
  • 导轨4.0.0。 beta1
+0

对此有帮助吗? https://github.com/rails/rails/issues/9491 – phoet 2013-03-08 13:13:40

+0

不要使用db:pull。使用pgbackups http://*.com/questions/8892354/heroku-dbpull-does-not-work – GregB 2013-03-08 20:54:43

您的开发数据库是否正确设置?例如你可以开始rails console并运行查询吗?

+0

是的。您可以在下次发表评论以进行澄清。 – bricker 2013-03-08 16:40:00