Re: [MacRuby-devel] New warning message

2011-08-20 Thread Mark Rada
I've also noticed the same problem when using the james gem on Lion. I'm not sure if I logged a bug (this was prior to Lion's official release). It also wouldn't be the only GC warning that MacRuby has on Lion right now. Could you log a bug against MacRuby for this issue? Thanks, Mark

[MacRuby-devel] New warning message

2011-08-20 Thread Robert Rice
I get this new warning message running my MacRuby app on Lion: MacDriverLog(262,0x104f0e000) malloc: *** auto malloc[262]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug. This doesn't crash my app. Can I safely i

[MacRuby-devel] Invoking an obj-c method requiring a block

2011-08-20 Thread Andy Park
I tried using blocks today, to no avail. This didn't work: NSNotificationCenter.defaultCenter.addObserverForName "kDocSetSelection Changed", object:nil, queue:nil, usingBlock:Proc.new{ |notification| NSLog("notified") } But this did:

[MacRuby-devel] Serialport IO and OS X Lion

2011-08-20 Thread Robert Rice
Hi devotees, I was using an Obj-C wrapper for serial port IO written by Paolo Bosetti but I found that it no longer works in Lion. Does anyone know what might have changed? Does MacRuby have a better solution for serial IO yet than using an Obj-C wrapper? Thanks, Bob Rice