2014-11-24 124 views
0

當我嘗試運行此命令我得到這個Rails的控制檯不啓動

/home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/2.0.0/irb/completion.rb:9:in `require': cannot load such file -- readline (LoadError) 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/2.0.0/irb/completion.rb:9:in `<top (required)>' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/console.rb:3:in `require' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/console.rb:3:in `<top (required)>' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:128:in `require' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:128:in `require_command!' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:59:in `console' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!' 
from /home/miguel/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>' 
from bin/rails:4:in `require' 
from bin/rails:4:in `<main>' 

我使用Ruby 2.0.0-p598,軌4.1.0

我已經安裝了這個當地的寶石

+0

檢查此http://stackoverflow.c OM /問題/ 9340497 /無法負荷,這樣,文件的readline-loaderror-時運行,Heroku的創建堆棧 – 2014-11-24 06:55:46

+0

好心看待這個結果 您的查詢將解決 [此處輸入鏈接的描述] [1] [1]:http://stackoverflow.com/questions/9340497/cannot-load-such-file-readline-loaderror-when-running-heroku-create-stack – VKatz 2014-11-24 07:05:09

回答