Skip to content

Installing readline

slhck edited this page Jul 12, 2012 · 1 revision

Sometimes the readline library isn't compiled into Ruby by default. You will notice this when trying out the Rails console. Change to /home/<username>/.rvm/src/ruby-1.9.2-p136/ext/readline and run ruby extconf.rb to see the missing packages. Those are probably:

  • libreadline5-devel
  • libncurses5-devel

Install them by using Yast or Aptitude. Then run:

ruby extconf.rb
make
make install