heroku登录/安装问题(ubuntu 12.04)

时间:2012-09-21 01:24:09

标签: heroku ubuntu-12.04

我曾尝试在我的系统上安装heroku(64位ubuntu 12.04),并且在实际安装时不会抛出任何错误。但是,当我尝试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

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

确保安装了这些:

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