Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

rawline_irb.rb not working on Ruby 1.9.1

#11

C:/Ruby/lib/ruby/1.9.1/irb/input-method.rb:108:in `initialize': undefined method `encoding' for nil:
NilClass (NoMethodError)
        from rawline_irb.rb:26:in `new'
        from rawline_irb.rb:26:in `<module:IRB>'
        from rawline_irb.rb:24:in `<main>'

This is due to the fact that IRB.conf[:LC_MESSAGE] is not set.

The script should be updates as follows:


# ...
module IRB
 	@CONF[:LC_MESSAGES] = Locale.new # <<<
	@CONF[:SCRIPT] = RawlineInputMethod.new
end
IRB.start

Reported by h3rald (at h3rald) · March 12th, 2009 @ 01:26 PM

State: resolved
Milestone: 0.3.2
Assigned to: h3rald (at h3rald) h3rald (at h3rald)

Activity

  1. h3rald (at h3rald)
    h3rald (at h3rald)
    • State changed from new to open

    March 12th, 2009 @ 01:27 PM

  2. h3rald (at h3rald)
    h3rald (at h3rald)
    • State changed from open to resolved

    March 20th, 2009 @ 07:56 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.