I\'ve installed rvm as a way of making sure that my local development version of ruby is the same as my server\'s for a particular app i work on (ruby 1.8.7). I\'ve done th
I got same problem and solved it. I check http://rvm.beginrescueend.com/packages/readline/ Please check follow 2 things:
sudo aptitude install libreadline5-dev libncurses5-dev
use libreadline6-dev
, if you have a new version. ruby extconf.rb -- --with-readline-dir='/home/youruser/.rvm/usr/include/readline'
make sure you have the readline lib files under the with-readline-dir you pointed.