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
Have you tried:
rvm pkg install readline
Then install ruby through RVM --with-readline-dir=$rvm_path/usr?
--with-readline-dir=$rvm_path/usr
http://beginrescueend.com/packages/readline/
FWIW, I'd suggest giving rbenv + ruby-build a go, if you've never considered it. A lot less headaches than with RVM.