2012-07-20 153 views
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>' 

回答

0

首先嚐試卸載Heroku的寶石導致與CLI

gem uninstall heroku 

不是試圖如果Heroku的CLI的作品,如果它不此頁面https://toolbelt.heroku.com/

上安裝一遍下面的說明衝突
相關問題