[MacRuby-devel] Concurrent SSL requests -> segfault

2011-04-05 Thread Andre Lewis
Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: https://gist.github.com/904320. In a nutshell: * Multiple, concurrent SSL http requests generate a segfault * Multiple, concurrent non-SSL http requests are OK * Multiple, sequential SSL http requests are OK All the scenarios run fi

[MacRuby-devel] Computer Serial Number

2011-04-05 Thread Robert Rice
Hi Gang: Could anyone help me to read the computer's serial number from a MacRuby program. Since I don't know Objective C, I haven't been able to figure out how to access it. Thanks, Bob Rice ___ MacRuby-devel mailing list [email protected]

Re: [MacRuby-devel] Computer Serial Number

2011-04-05 Thread Henry Maddocks
On 6/04/2011, at 9:10 AM, Robert Rice wrote: > Hi Gang: > > Could anyone help me to read the computer's serial number from a MacRuby > program. Since I don't know Objective C, I haven't been able to figure out > how to access it. system_profile = `system_profiler SPHardwareDataType` serial_nu

Re: [MacRuby-devel] Concurrent SSL requests -> segfault

2011-04-05 Thread Andre Lewis
Hm. trying something similar within Xcode gives the following: https://gist.github.com/904634 Looks like there's a hardcoded path to /Users/lrz/src/macruby-0.10 s omewhere. On Tue, Apr 5, 2011 at 12:37 PM, Andre Lewis wrote: > Think I found a bug with Net:HTTP on MacRuby 0.10. Code is here: >

Re: [MacRuby-devel] Computer Serial Number

2011-04-05 Thread Terry Moore
There is no BridgeSupport for IOkit... so ruby is out for now. like Henry said you can escape to a shell.. or wrap this snippet in an objc class... #include #include // Returns the serial number as a CFString. // It is the caller's responsibility to release the returned CFString when done

Re: [MacRuby-devel] Concurrent SSL requests -> segfault

2011-04-05 Thread James Chen
I also had this issue when implementing https wrapped in NSOperation for Gmail Notifr: https://gist.github.com/791984 Regards, James Chen ashchan.com | @ashchan On Wed, Apr 6, 2011 at 5:43 AM, Andre Lewis wrote: > Hm. trying something similar within Xcode gives the

Re: [MacRuby-devel] [ANN] TrackerBot 1.0 in App Store -- tested with MacRuby!

2011-04-05 Thread Graham Davison
Hi Christian, I've been fighting with MacRuby and cucumber for a while, and have never been able to build cuke under MacRuby. What versions of both tools did you use? Were there any special tweaks you had to make? Thanks, Graham On Wednesday, March 16, 2011, Christian Niles wrote: > Hey All, >