gabriele renzi wrote: > > il Wed, 28 Jul 2004 21:43:38 +0900, "Curt Hibbs" <curt / hibbs.com> ha > scritto:: > > > >This reminds me that I want to fix the fact that tab-completion does not > >work in irb in the one-click installer -- I never knew why and I kept > >forgetting to ask. > > > >I tried why's suggestion for getting it to work under windows > (pretty much > >the same as Raphael's above), but it doesn't work. Below is my > console log. > >Does anyone know what is wrong? Am I building the ruby for the one-click > >installer incorrectly? > > > >Thanks, in advance, for any help (console log below). > > > >Curt > > > >=== BEGIN-LOG === > > > >Microsoft Windows XP [Version 5.1.2600] > >(C) Copyright 1985-2001 Microsoft Corp. > > > >C:\Documents and Settings\hibbs_c>irb > >irb(main):001:0> require 'irb/completion' > >LoadError: No such file to load -- readline > > maybe you don't have readline.so+readline.dll ? (binding + real > library) It did not used to come with the one click installer. > > I tried using the readline (dll+so) that was given from > http://www.garbagecollect.jp/ruby/mswin32/en/ > and it partially worked (i.e. tab completion was ok) but I had > problems related to proper settings of .inputrc (using the one from my > linux box to get italian settings did not work), so I could not input > some character... well, like [ and { :) I downloaded http://jarp.jin.gr.jp/win32/readline-4.3-2-mswin32.zip and put the readline.dll it contained in C:\ruby\lib\ruby\site_ruby\1.8\i386-msvcrt but I still get this error: === BEGIN-LOG === Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\hibbs_c>irb irb(main):001:0> require 'irb/completion' NameError: uninitialized constant Readline from c:/ruby/lib/ruby/1.8/irb/completion.rb:184 from (irb):1:in `require' from (irb):1:in `irb_binding' from c:/ruby/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding' from c:/ruby/lib/ruby/1.8/irb/workspace.rb:52 Maybe IRB bug!! irb(main):002:0> === END-LOG ===