I have installed Rails 2.2.2 on a Debian Lenny VPS and I am getting
the following error when trying to script/console.
Loading development environment (Rails 2.2.2)
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require’: no such
file to load – readline (LoadError)
It’s probably because you didn’t have the development headers for
readline. These are probably in a separate debian package (eg
libreadline-dev or something like that). Once you’ve got that try
building the readline extension again (cd to ruby source /ext/
readline, run ruby extconf.rb then the usual make && make install
dance)