Fixing Ruby Readline Errors on CentOS

| Comments

Error

The following errros may occure if readline is not properly configured on a system:

/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- readline (LoadError)

Fix

Here is the fix:

yum install readline-devel -y cd /usr/local/src/ruby-1.9.2-p136/ext/readline/ ruby extconf.rb make sudo make install

Comments