RHEL5 Getting The Rails Console Working 2
If you compile Ruby from scratch you may get this error when starting a script/console session:
`require': no such file to load -- readline (LoadError)
To solve this you need to install the readline ruby extension. Here I assume you are using the 1.8.7 Ruby.
sudo yum install ncurses-devel readline-devel cd ~ mkdir src cd src wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz tar zxvf ruby-1.8.7-p72.tar.gz cd ruby-1.8.7-p72.tar.gz/ext/readline ruby extconf.rb make sudo make install

