Heroku 登录/安装问题 (Ubuntu 12.04)



我尝试在我的系统(64 位 ubuntu 12.04)上安装 heroku,但在实际安装时它没有抛出任何错误。 但是,当我尝试heroku登录时,出现此错误:

/usr/lib/ruby/1.8/x86_64-linux/readline.so: libreadline.so.5: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.8/x86_64-linux/readline.so (LoadError)
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command/run.rb:1
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command.rb:14:in `load'
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command.rb:13:in `each'
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/command.rb:13:in `load'
    from /var/lib/gems/1.8/gems/heroku-2.31.4/lib/heroku/cli.rb:27:in `start'
    from /var/lib/gems/1.8/gems/heroku-2.31.4/bin/heroku:16
    from /usr/local/bin/heroku:19:in `load'
    from /usr/local/bin/heroku:19

有什么想法吗?

确保已安装以下设备:

$ sudo apt-get install curl bison build-essential autoconf zlib1g-dev libssl-dev libxml2-dev libreadline6-dev git-core

最新更新