2

我在运行时遇到问题heroku db:pull -a my-app。我收到这条消息:

!    Heroku client internal error.
!    Search for help at: https://help.heroku.com
!    Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       constant URI::WFKV_ not defined (NameError)
Backtrace:   /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb:53:in `remove_const'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb:53:in `<module:URI>'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb:19:in `<top (required)>'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/rack-1.4.1/lib/rack/utils.rb:12:in `require'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/rack-1.4.1/lib/rack/utils.rb:12:in `<top (required)>'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/taps-0.3.24/lib/taps/multipart.rb:2:in `require'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/taps-0.3.24/lib/taps/multipart.rb:2:in `<top (required)>'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/taps-0.3.24/lib/taps/data_stream.rb:2:in `require'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/taps-0.3.24/lib/taps/data_stream.rb:2:in `<top (required)>'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/taps-0.3.24/lib/taps/operation.rb:8:in `require'
             /home/user/.rvm/gems/ruby-1.9.2-p320@cg/gems/taps-0.3.24/lib/taps/operation.rb:8:in `<top (required)>'
             /usr/local/heroku/lib/heroku/command/db.rb:207:in `require'
             /usr/local/heroku/lib/heroku/command/db.rb:207:in `load_taps'
             /usr/local/heroku/lib/heroku/command/db.rb:49:in `pull'
             /usr/local/heroku/lib/heroku/command.rb:206:in `run'
             /usr/local/heroku/lib/heroku/cli.rb:28:in `start'
             /usr/local/heroku/bin/heroku:25:in `<main>'

Command:     heroku db:pull -a my-app
Version:     heroku-toolbelt/2.33.2 (i486-linux) ruby/1.9.1
4

1 回答 1

1

有同样的问题。似乎不推荐使用 db:pull 。

请参阅https://devcenter.heroku.com/articles/pgbackups

于 2012-12-03T22:50:38.530 回答