From: Gene Tani Date: 2006-09-17T01:36:05+09:00 Subject: Re: readline() with editing and history? Marc Heiler wrote: > "If you installed ruby from source, then readline probably didn't build > when you built ruby because you don't have the required source files > for the interfaces to the readline library" > > I think it would be awesome if a check could be added to the configure > script, ie --enable-readline or similar. And when it cant be found, > it wont try to compile ruby so that you can timely compile/install > readline first again. :) > here's the bit to test if readline is compiled in, from Pragmatic's "Rails Recipes" (which is simply outstanding) ruby -rreadline 'p Something' ( I was going to say i can't recommend the book highly enogh, but i think that's ambiguous)