It gives the exception when I run "rails console". This is how I resolve the problem.
My environment: Ubuntu 12.04, Ruby 1.9.2p290 build from source, Rails 3.0.10
For ruby builded frome source code:
- Make sure you have libreadline-dev and libncurses5-dev
2. Go to the ruby source code directory
3. Build readline up
sudo make install
Basically same to above. But the path to ext/readline is under .rvm directory.