0

我正试图进入 Heroku Cedar 堆栈上的 bash,我得到以下信息:

$ heroku run bash

Running `bash` attached to terminal... up, run.1
/usr/local/heroku/lib/heroku/client/rendezvous.rb:87:in `fixup': undefined method `force_encoding' for "\e[01;34m~\e[00m \e[01;32m$ \e[00m":String (NoMethodError)
    from /usr/local/heroku/lib/heroku/client/rendezvous.rb:63:in `start'
    from /usr/local/heroku/lib/heroku/client/rendezvous.rb:46:in `loop'
    from /usr/local/heroku/lib/heroku/client/rendezvous.rb:46:in `start'
    from /usr/local/heroku/lib/heroku/command/run.rb:118:in `rendezvous_session'
    from /usr/local/heroku/lib/heroku/command/run.rb:104:in `run_attached'
    from /usr/local/heroku/lib/heroku/command/run.rb:21:in `index'
    from /usr/local/heroku/lib/heroku/command.rb:167:in `send'
    from /usr/local/heroku/lib/heroku/command.rb:167:in `run'
    from /usr/local/heroku/lib/heroku/cli.rb:9:in `start'
    from /usr/bin/heroku:28

关于导致此错误的原因或如何补救的任何想法?提前致谢!

4

1 回答 1

1

heroku 命令行版本是什么?尝试升级它,无论是 toolbet 还是 ruby​​gem。

于 2012-07-06T18:08:27.087 回答