From: ghorner Date: 2011-01-07T18:55:20+09:00 Subject: Re: ripl - an irb alternative - 0.3.0 released On Jan 7, 3:37 am, Michal Suchanek wrote: > On 7 January 2011 03:10, ghorner wrote: > > > > > > > > > > > On Jan 6, 4:19 am, Michal Suchanek wrote: > >> On 6 January 2011 02:10, ghorner wrote: > > >> > On Jan 5, 10:55 am, Michal Suchanek wrote: > >> >> Hello > > >> >> There is a serious issue with ripl. > > >> >> $ ripl > >> >> Bond Error: Failed to load readline_line_buffer. Ensure that it exists > >> >> and was built correctly. > > >> > For ruby < 1.9.2, you'll need to have readline installed. I'm > >> > surprised your install reported no errors. Can you reinstall? > > >> I installed on another machine and do not get the error. > > > If your install is building the readline_line_buffer extension > > correctly, then the problem must be you can't find it. What does the > > following command give you? > > >   find $(dirname $(gem which bond)) | grep readline_line_buffer > > > You should get the path of the extension. Try requiring that path > > after requiring ripl. > > Apparently bond requires readline development files but does not > report an error when they are not present. It reports a missing readline.h: https://github.com/cldwalker/bond/blob/master/ext/readline_line_buffer/extconf.rb#L13 What development files are you missing? Did you see an extension built with the above command? If not, debian's quirks with executables make it suspect for this as well. Gabriel