Feeds:
Posts
Comments

Posts Tagged ‘readline’

Again another module missing. Doing script/console result with the following error message.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
You can get away with compiling and installing readline from source without recompiling ruby it self.

1. Go to your ruby source directory then cd into ext/readline

ruby extconf.rb
make
make install

NOTE: If doing ruby extconf.rb bail out with a “readline/readline.h… no” or something similar install readline-devel package on your system (Again this is if you are on a Redhat based system)

Read Full Post »