Fix error: rails console - no such file to load -- readline

Updated . Posted . Visible to the public.

Install libreadline:

sudo apt-get install libreadline-dev

Reinstall the ruby and tell rvm where to find readline

rvm reinstall 1.8.7 --with-readline-dir=/usr/include/readline

Make sure you get a huge cup of tea before running the command above! It will take some time.

References

Last edit
License
Source code in this card is licensed under the MIT License.
Posted to makandra dev (2012-03-08 12:47)