From: Michal Suchanek Date: 2011-01-11T21:08:56+09:00 Subject: Re: ripl - an irb alternative - 0.3.0 released On 11 January 2011 10:40, ghorner wrote: > On Jan 9, 6:17 am, Michal Suchanek wrote: >> On 8 January 2011 16:40, Gabriel Horner wrote: > Thanks for the feedback. bond 0.4.0 comes with a --without-readline > and fails hard. Yes, this now works perfectly for me. > >> > Did you try gem install bond -- --with-readline-lib=/path/to/your/lib >> > --with- >> > readline-include=/path/to/your/include ? >> >> Don't need that. Readline is detected correctly when present. > > So I'm guessing autocompletion works correctly with ripl for your > readline? Yes, with readline autocompletion works. > > If it doesn't, there's a pure ruby readline you can use with ripl: > >    gem install ripl rb-readline -- --without-readline > > Then, add to your ~/.riplrc: > >    Ripl.config[:readline] = 'rb-readline' >    Ripl.config[:completion] = {:readline => :ruby } > However, I still cannot interrupt printing of output with either libreadline5 or rb-readline. BTW is it possible to have both ruby completion and file completion? They are in different places anyway. Filenames must be inside strings and ruby must be outside strings (or inside string interpolations). Thanks Michal