Problems with the rails console, RVM and readline

前端 未结 7 527
谎友^
谎友^ 2020-12-04 11:40

I\'ve installed rvm as a way of making sure that my local development version of ruby is the same as my server\'s for a particular app i work on (ruby 1.8.7). I\'ve done th

7条回答
  •  既然无缘
    2020-12-04 11:56

    I got same problem and solved it. I check http://rvm.beginrescueend.com/packages/readline/ Please check follow 2 things:

    1. sudo aptitude install libreadline5-dev libncurses5-dev use libreadline6-dev, if you have a new version.
    2. ruby extconf.rb -- --with-readline-dir='/home/youruser/.rvm/usr/include/readline' make sure you have the readline lib files under the with-readline-dir you pointed.

提交回复
热议问题