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
$ ruby extconf.rb
I got the solution:
Run the command
rvm requirements
It shows the requirements and dependencies. Install those and reinstall the ruby on rvm
rvm remove 1.9.2 rvm install 1.9.2
It works!