Ubuntu 11.10 uses the new readline library, which does not sync with the readline package offered by rvm
To solve this problem (if you are using a single-user rvm installation):
1) make sure you have installed the ubuntus readline and editline dev packages
sudo apt-get install libreadline6 libreadline6-dev
2) configure ruby ββreadline extension to use system libraries, not rvm packages
rvm pkg uninstall readline cd ~/.rvm/src/ruby-1.9.2-p290/ext/readline ruby extconf.rb --with-editline-dir=/usr/ --with-readline-dir=/usr/ make make install
3) go to your project and run the rails console
Tip. You may call
rvm requirements
to see which Ubuntu packages must be installed to use rvm ruby
source share