0
我使用heroku网站上的说明安装了heroku。当我运行heroku登录(或任何其他heroku命令,我得到下面的输出)。目录/home/jsltaic/.rvm/rubies/ruby-1.9.3-p194/lib
不存在,我怀疑是问题的一部分。我得到一个错误得到正确安装的heroku cli
[email protected]:~$ heroku login
/home/jsltaic/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- readline (LoadError)
from /home/jsltaic/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jsltaic/.rvm/gems/[email protected]/gems/heroku-2.29.0/lib/heroku/command/run.rb:1:in `<top (required)>'
from /home/jsltaic/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jsltaic/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jsltaic/.rvm/gems/[email protected]/gems/heroku-2.29.0/lib/heroku/command.rb:15:in `block in load'
from /home/jsltaic/.rvm/gems/[email protected]/gems/heroku-2.29.0/lib/heroku/command.rb:14:in `each'
from /home/jsltaic/.rvm/gems/[email protected]/gems/heroku-2.29.0/lib/heroku/command.rb:14:in `load'
from /home/jsltaic/.rvm/gems/[email protected]/gems/heroku-2.29.0/lib/heroku/cli.rb:24:in `start'
from /home/jsltaic/.rvm/gems/[email protected]/gems/heroku-2.29.0/bin/heroku:16:in `<top (required)>'
from /home/jsltaic/.rvm/gems/[email protected]/bin/heroku:19:in `load'
from /home/jsltaic/.rvm/gems/[email protected]/bin/heroku:19:in `<main>'
from /home/jsltaic/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in `eval'
from /home/jsltaic/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in `<main>'