Ruby 1.9.2 and Rails 3 cannot open rails console

前端 未结 10 1984
野性不改
野性不改 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条回答
  •  既然无缘
    2020-12-01 06:42

    If you want another solution to this problem do this.

    sudo apt-get install libreadline6
    

    Then in your gem file add:

    gem 'rb-readline'
    

    Then

    bundle install
    

    And you should be all set.

提交回复
热议问题