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
Same issue as here Readline errors prevent me running rails console
Under ubuntu you can use the system readline installation.
rvm uninstall ${YOURUBYVERSION}
sudo apt-get install libreadline-dev
rvm install ${YOURUBYVERSION} --with-readline-dir=/usr/include/readline
Substitute ${YOURUBYVERSION} with your desired ruby version.