Problems with the rails console, RVM and readline

前端 未结 7 565
谎友^
谎友^ 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 12:13

    Readline was unable to be required, if you need completion or history install readline then reinstall the ruby.
    You may follow 'rvm notes' for dependencies and/or read the docs page https://rvm.io/packages/readline/ . Be sure you 'rvm remove X ; rvm install X' to re-compile your ruby with readline support after obtaining the readline libraries.
    

    If you follow that link, you will find some instructions on how to fix this problem. What worked for me was the first step, removing all the manually installed packages:

     $ rm -rf $rvm_path/usr
    

    and then

    $ rvm requirements
    $ rvm reinstall 1.9.3
    

    Hope it works!

提交回复
热议问题