我试图从我的heroku遥控器中提取数据库,但是得到了这条错误消息。
好了!Heroku客户端内部错误。好了!搜索帮助:https://help.heroku.com!或在:https://github.com/heroku/heroku/issues/new上报告错误
Error: undefined method `database_session' for #<Heroku::Client:0x007fba0d5a2f20> (NoMethodError)
Backtrace: /Users/christopheprakash/.heroku/plugins/heroku-taps/lib/taps/heroku/command/db.rb:217:in `taps_client'
/Users/christopheprakash/.heroku/plugins/heroku-taps/lib/taps/heroku/command/db.rb:64:in `pull'
/Users/christopheprakash/.heroku/client/lib/heroku/command.rb:213:in `run'
/Users/christopheprakash/.heroku/client/lib/heroku/cli.rb:28:in `start'
/usr/local/Cellar/heroku-toolbelt/2.40.0/libexec/bin/heroku:24:in `<main>'
Command: heroku db:pull sqlite://db/development.sqlite3
Plugins: heroku-taps
Version: heroku-toolbelt/3.0.0 (x86_64-darwin12.4.0) ruby/1.9.3我直接从heroku下载了工具箱,然后通过https://github.com/heroku/heroku-taps.git安装了taps插件。
知道怎么解决这个问题吗?
谢谢!
编辑:我已经尝试过Heroku提供的命令的每一个变体,但是仍然是相同的错误!
发布于 2013-10-07 16:33:55
更改您的Gemfile
group :development, :test do
gem 'sqlite3'
end
group :production
gem 'pg'
end然后bundle install,再次推荐并再次推到heroku
https://stackoverflow.com/questions/19229797
复制相似问题