1

我曾尝试在我的系统(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

有任何想法吗?

4

1 回答 1

0

确保您已安装这些:

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

于 2012-09-21T02:18:04.120 回答