"Keiju ISHITSUKA" <keiju / ishitsuka.com> wrote in message
news:200105280834.RAA10920.keiju / ishitsuka.com...
> Hi,
>
>
> % irb -r irb/completion
>
> or write ~/.irbrc in following text:
>
> require "irb/completion"
>

When  I try irb -r irb/completion and type "ab.<TAB>",

following error message occurred and resulted in confused terminal state.

irb(main):002:0> ab./usr/local/lib/ruby/1.6/irb/completion.rb:31:in `eval':
(eval):1:in `irb_binding': undefined local variable or method `ab' for
#<Object:0x2ac37c90> (NameError)
        from /usr/local/lib/ruby/1.6/irb/completion.rb:31
        from /usr/local/lib/ruby/1.6/irb/completion.rb:27:in `call'
        from /usr/local/lib/ruby/1.6/irb/input-method.rb:96:in `readline'
        from /usr/local/lib/ruby/1.6/irb/input-method.rb:96:in `gets'
        from /usr/local/lib/ruby/1.6/irb/main.rb:319:in `eval_input'
        from /usr/local/lib/ruby/1.6/irb/main.rb:318:in `signal_status'
        from /usr/local/lib/ruby/1.6/irb/main.rb:318:in `eval_input'
        from /usr/local/lib/ruby/1.6/irb/main.rb:317:in `call'
         ... 10 levels...
        from /usr/local/lib/ruby/1.6/irb/main.rb:62:in `start'
        from /usr/local/lib/ruby/1.6/irb/main.rb:61:in `catch'
        from /usr/local/lib/ruby/1.6/irb/main.rb:61:in `start'
        from /usr/local/bin/irb:19

Park Hee-Sob.