Has nobody else had this problem?!? On Nov 24, 2009, at 1:49 PM, MacRuby wrote:
> #453: MacIRB 0.5 beta 2 doesn't work on 10.6.2 > ----------------------------------------+----------------------------------- > Reporter: ernest.prabha...@… | Owner: lsansone...@… > Type: defect | Status: new > Priority: blocker | Milestone: MacRuby 0.5 > Component: MacRuby | Keywords: > ----------------------------------------+----------------------------------- > With beta 2 on 10.6.2, I can't run macirb. > > When I enter: > $ macirb > OR > $ macruby -e "require 'irb/slex'" > > I get: > > -e:in `<main>': undefined method `bind' for IRB::SLex:Class > (NoMethodError) > > More specifically: > > macruby > /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/irb/slex.rb > > GIVES > > /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/e2mmap.rb:in > `extend_object:': undefined method `bind' for IRB::SLex:Class > (NoMethodError) > from core:in `extend:' > > Which presumably is due to this line in slex: > .... > module IRB > class SLex > @RCS_ID='-$Id: slex.rb 16810 2008-06-04 09:37:38Z matz $-' > > extend Exception2MessageMapper > ... > calling this method in e2mm: > .... > def E2MM.extend_object(cl) > supe > cl.bind(self) unless cl < E2MM > end > ... > This doesn't cause any problems when called with Ruby 1.8.7, so I assume > it is bug. > > -- > Ticket URL: <http://www.macruby.org/trac/ticket/453> > MacRuby <http://macruby.org/> > _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel