Ruby 1.9.2 and Rails 3 cannot open rails console

前端 未结 10 1996
野性不改
野性不改 2020-12-01 06:04
[gkaykck@main myApplication]$ rails console
/usr/local/lib/ruby/1.9.1/irb/completion.rb:9:in `require\': no such file to load -- readline (LoadError)
    from /usr/l         


        
10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-01 06:35

    use rvm remove to remove all ruby installed. do a "which ruby" if you still get something, you need to reinstall rvm then install ruby using rvm.

提交回复
热议问题