[MacRuby-devel] [MacRuby] #142: Infinite loop creating new Monitor object
MacRuby
ruby-noreply at macosforge.org
Sat Nov 8 10:41:29 PST 2008
#142: Infinite loop creating new Monitor object
---------------------------------------+------------------------------------
Reporter: dev at petermcm.dircon.co.uk | Owner: lsansonetti at apple.com
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.3
Component: MacRuby | Resolution:
Keywords: |
---------------------------------------+------------------------------------
Comment(by jamis at 37signals.com):
This can actually be duplicated easily with something like the following:
{{{
module A
def initialize
super
end
end
class B
include A
end
B.new
}}}
I ran into this when trying to get Capistrano to run under MacRuby (since
Capistrano depends on Net::SSH, which depends on Ruby's Logger, which
depends on Monitor, etc.). I've tried digging through MacRuby to figure
out where the error is coming from, but my ruby-internals-fu is yet weak.
I'll keep digging, but hopefully someone smarter than me can figure this
out more quickly. :)
--
Ticket URL: <http://www.macruby.org/trac/ticket/142#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list