How to get Readline support in IRB using RVM on Ubuntu 11.10

前端 未结 12 1752
北恋
北恋 2020-12-07 14:51

I have tried everything I can think of to get this to work, to no avail so here I am requesting suggestions on how to debug.

Firstly, runnning Ubuntu 11.10

I

12条回答
  •  半阙折子戏
    2020-12-07 15:18

    Ubuntu 12.04 here: the answers here helped, but were also misleading.

    If you're using Ubuntu 12.04, DO NOT pkg install readline, with or without --skip-autoreconf. After you've done that, either readline or zlib will be broken no matter what combination of switches you give to rvm install 1.9.3.

    To get it to work, do the apt-get install that rvm requirements tells you to do, do a pkg uninstall readline and then do a simple rvm remove 1.9.3; rvm install 1.9.3

提交回复
热议问题