Phillip Gawlowski wrote:

> 
> You could try using Ruby 1.8.6 and 1.8.7. That is, if that doesn't break
> something else for you.
> 
> Alternatively, you could file a bug with dradis, that it doesn't work on
> Ruby 1.9.x.

It'll take me some time to move things to 1.8.6, but I'll try that in a 
few days. In the meantime, just to add a little info I've no clue if 
it's relevant. The offending line in input-method.rb is

@stdin = IO.open(STDIN.to_i, :external_encoding => 
IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-")

but If I run on console:

$irb
irb(main):001:0> IRB.conf[:LC_MESSAGES]
=> #<IRB::Locale:0x00000000ae7cf8 @modifier=nil, 
@encoding_name="ISO-8859-1", @territory="US", @lang="en", 
@locale="en_US.ISO-8859-1", @encoding=#<Encoding:ISO-8859-1>>
irb(main):002:0> IRB.conf[:LC_MESSAGES].encoding
=> #<Encoding:ISO-8859-1>
irb(main):003:0>

Does dradis have to set these before calling 
IRB::ReadlineInputMethod.new ?

Thanks R.
-- 
Posted via http://www.ruby-forum.com/.