2013-09-16 142 views
-1

無法打開軌道控制檯,引發以下錯誤無法打開軌道控制檯

$ rails c 

/home/#/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/irb/completion.rb:9:in `require': cannot load such file -- readline (LoadError) 
from /home/#/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/irb/completion.rb:9:in `<top (required)>' 
from /home/#/.rvm/gems/[email protected]/gems/railties-3.2.13/lib/rails/commands/console.rb:3:in `require' 
from /home/#/.rvm/gems/[email protected]/gems/railties-3.2.13/lib/rails/commands/console.rb:3:in `<top (required)>' 
from /home/#/.rvm/gems/[email protected]/gems/railties-3.2.13/lib/rails/commands.rb:38:in `require' 
from /home/#/.rvm/gems/[email protected]/gems/railties-3.2.13/lib/rails/commands.rb:38:in `<top (required)>' 
from script/rails:6:in `require' 
from script/rails:6:in `<main>' 
+0

這是一個衆所周知的問題。嘗試http://stackoverflow.com/questions/4922700/ruby-1-9-2-and-rails-3-cannot-open-rails-console –

回答