Console broken on server

hi, all…

i have been messing with this for awhile and i decided to get some

i am getting the same problem (1) that i have seen on the list:

i am running on centos…

i installed readline, and that went fine… if i do a locate on it, i can
see that they are there (2)…

but for some reason, it looks like ruby is not seeing readline…

any ideas on how i can make this work?


(1) Loading development environment.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in require': no such file to load -- readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init.rb:252:inload_modules’
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in load_modules' from /usr/local/lib/ruby/1.8/irb/init.rb:21:insetup’
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/local/bin/irb:13




Strange, I had this problem last night.

You need to install the readline development package for centos. Use
yum to do this. Then you need to go you ruby source code, presuming
that you still have it around after you compiled ruby and change to
the “ext/readline” directory. There will be a extconf.rb file ( from
memory ). Run that with the command “ruby ./extconf.rb”. A make file
should be generated. Type in “make” and then as root, “make install”.

Bruce W. wrote:

Strange, I had this problem last night.

bingo bango bongo!

that worked like a charm!

thanks so much, bruce!