Readline not working in rvm - Ubuntu 11.10

后端 未结 6 1835
终归单人心
终归单人心 2021-01-04 09:43

I am using rvm on my ubyntu 11.10. My readline is not working, I tried ruby extconf.rb but it is not passed. Output is bellow:

$ ruby extconf.rb         


        
6条回答
  •  长发绾君心
    2021-01-04 10:29

    Have you tried:

    rvm pkg install readline
    

    Then install ruby through RVM --with-readline-dir=$rvm_path/usr?

    http://beginrescueend.com/packages/readline/

    FWIW, I'd suggest giving rbenv + ruby-build a go, if you've never considered it. A lot less headaches than with RVM.

提交回复
热议问题