irb not working in stable snapshot

S

s

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",
TOPLEVEL_BINDING,
__FILE__,
__LINE__ - 3)

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

s.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top