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
I've googled for a couple days, but no answers helps me, so my solution was:
Fully remove rvm How to remove rvm
Remove all ruby packages. First, find out which packages do you have:
dpkg -l | grep ruby
then make
sudo apt-get purge {PACKAGE}
where {PACKAGE} is package you want to remove ( for me there were ruby ruby1.8 ruby1.9.1 )
Then I made fresh installation of RVM Install RVM and installed ruby 1.9.2 with
rvm install 1.9.2
Now it should work!