Forum: Ruby irb not working in stable snapshot

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-02-12 22:44
(Received via mailing list)
Look what I have here:

zeus:~ # ruby -v
ruby 1.8.4 (2006-02-12) [i686-linux]

zeus:~ # irb -v
irb 0.9.5(05/04/13)

zeus:~ # irb
/usr/local/lib/ruby/1.8/irb/workspace.rb:52: undefined method
`irb_binding' for main:Object (NoMethodError)

The line in question is

     @binding = eval("def irb_binding; binding; end; irb_binding",
               __LINE__ - 3)

which worked in the Christmas release I am running on the other system.

This topic is locked and can not be replied to.