Re: [MacRuby-devel] MacRuby not finding a method that Ruby is

2009-10-07 Thread Edward Hynes
want to try your luck with 0.5 - Matt On Wed, Oct 7, 2009 at 7:37 PM, Edward Hynes m...@dharmagaia.com wrote: Hi, I'm attempting to use the RParsec gem under MacRuby, but am getting a NoMethodError when it loads. I've create a test file that simply adds my local gem directory

[MacRuby-devel] Initializing Structs with Bytes?

2009-09-25 Thread Edward Hynes
Hi, I'm calling a function, via bridesupport, that returns a void pointer to a c structure. I'd like to instantiate a MacRuby structure using that void pointer. Is there a way to do this? Thanks, Ed ___ MacRuby-devel mailing list

[MacRuby-devel] Xcode Executable Arguments

2009-07-29 Thread Edward Hynes
to the application? I'm setting the arguments using the defaults command for now, but it would prefer doing so within Xcode if possible. Thanks, Ed -- Edward Hynes Dharma Gaia LLC Software with the Earth in Mind http://dharmagaia.com ___ MacRuby

[MacRuby-devel] How to retrieve an observer's context?

2009-04-20 Thread Edward Hynes
I'd like to use contexts when registering some observers, but have been unable to retrieve them, getting a can't convert C/Objective-C value `0x2822731' of type `v' to Ruby object instead. The following code, for example, will trigger the error class Subject attr_accessor :abc end

Re: [MacRuby-devel] How to retrieve an observer's context?

2009-04-20 Thread Edward Hynes
Hi Laurent, Thanks for the help. Did you mean to set the context ivar on the observer or on the subject? Wouldn't setting it on the observer result in the last registration 'winning' if the observer is watching more than one subject? Ed On Apr 20, 2009, at 4:28 PM, Laurent Sansonetti