From: 520079130762-0001@... (Michael Neumann) Date: 2002-12-18T07:40:45+09:00 Subject: Re: irb auto completion On Mon, 2002-12-16 at 22:24, James Davis wrote: > On Tue, 17 Dec 2002 00:16:47 +0900, "Garriss, Michael" > wrote: > > >I'm just a newbie trying that's also trying to get auto-completion to work > >but I might be able to help. I think you have to run irb like this first: > > > >irb --readline > > > >However after doing that I get this from irb: > > > >[local]frisco:mgarriss:~/lib/ruby/1.7> irb --readline > >irb(main):001:0> require "irb/completion" > >NotImplementedError: The basic_word_break_characters=() function is > >unimplemented on this machine > > from /home/mgarriss/lib/ruby/1.7/irb/completion.rb:185:in > >`basic_word_break_characters=' > > from /home/mgarriss/lib/ruby/1.7/irb/completion.rb:185 > > from (irb):1:in `require' > > from (irb):1:in `irb_binding' > > from /home/mgarriss/lib/ruby/1.7/irb/workspace.rb:52:in > >`irb_binding' > > from :0 > >Maybe IRB bug!! > >irb(main):002:0> > > Thanks for writing. I've tried both > 'irb --readline' and 'irb -r irb/completion'. Both give errors > (different from each other and from yours). The latter command came > from the book "Ruby Developer's Guide". This issue was discussed here > in the past, but I think in that case the user was on unix, not Win32. Auto-completion ('irb -r irb/completion') works fine with the Ruby-165-2 Installer. But note, that's the cygwin based version. Auto-completion in 167-2 (native Win32) does not work for me on Win98. I haven't tried the 172 version yet, but I guess the above output is from 172 and it does not seem to work. Regards, Michael