Re: [MacRuby-devel] Assertion failed in rb_vm_super_lookup

2009-11-27 Thread Gareth Townsend
Thanks for the quick replies and explanations John and Laurent. My problem is sorted and my window is opening :-) The hardest part of building stuff with MacRuby is figuring out whether the Ruby, or the Cocoa way, is the correct way to do things. Cheers, Gareth Townsend http://www.garethtownsen

Re: [MacRuby-devel] Assertion failed in rb_vm_super_lookup

2009-11-27 Thread Laurent Sansonetti
Hi Gareth, On Nov 26, 2009, at 3:51 PM, Gareth Townsend wrote: Hi, I've just started playing with MacRuby. So please bear with me, there's every chance I'm doing something stupid :-) I'm using 0.5 beta 2. I'm building a simple Cocoa App (http://github.com/quamen/noise) and am running i

Re: [MacRuby-devel] Assertion failed in rb_vm_super_lookup

2009-11-27 Thread John Shea
Hi Gareth, Have a look at the examples in Developer/Examples/Ruby/MacRuby - there are good examples there which might be useful for you. In this case your init method is an obvious problem, it must (as in objective C) return self. The super call is interesting because normally in ruby it will ca

[MacRuby-devel] Assertion failed in rb_vm_super_lookup

2009-11-26 Thread Gareth Townsend
Hi, I've just started playing with MacRuby. So please bear with me, there's every chance I'm doing something stupid :-) I'm using 0.5 beta 2. I'm building a simple Cocoa App (http://github.com/quamen/noise) and am running into some problems while trying to set up a Preference Pane. Specificall