简体   繁体   中英

heroku db:pull results in TypeError

When running heroku db:pull , I immediately see this error:

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

Even adding the --debug flag doesn't show anything extra.

  • heroku heroku-toolbelt/2.35.0 (x86_64-darwin10.8.0) ruby/1.9.3
  • taps 0.3.24
  • ruby 2.0.0-p0
  • rails 4.0.0.beta1

Is your development DB correctly setup? eg can you start rails console and run a query?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM