Projects

Ticket #625 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

macirb failing with latest trunk

Reported by: pontus.stromdahl@… Owned by: lsansonetti@…
Priority: major Milestone: MacRuby 0.6
Component: MacRuby Keywords: macirb irb_binding workspace.rb
Cc:

Description

Get the following trace when trying to start macirb:


pontus> macruby -v MacRuby version 0.6 (ruby 1.9.0) [universal-darwin10.0, x86_64] pontus> macirb -f /Users/pontus/Workcopies/spike/macruby/setFrame_Fail/lib/irb/workspace.rb:51:in <main>': undefined local variable or method irb_binding' for main:TopLevel (NameError)


I tried debugging it but so far I haven't gotten anywhere.

Change History

Changed 2 years ago by lsansonetti@…

Seems to work fine here.

t.rb(main):002:0> $ cat t.rb
p 42
$ macirb -f t.rb
t.rb(main):001:0> p 42
42
=> 42
t.rb(main):002:0> $ 

I suspect you have an IRB config file that does not follow macirb's behavior.

Changed 2 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed

Sorry about that, it was a regression that was recently introduced. It should be fixed in r3620.

Changed 2 years ago by pontus.stromdahl@…

thanks, updated to r3620

ps. next time I'll include the revision I'm using, to make it easier

Note: See TracTickets for help on using tickets.