[MacRuby-devel] [MacRuby] #346: Can't run macirb on Snow Leopard

2009-09-23 Thread MacRuby
#346: Can't run macirb on Snow Leopard +--- Reporter: comec...@… | Owner: lsansone...@… Type: defect | Status: new Priority: critical|

Re: [MacRuby-devel] [MacRuby] #346: Can't run macirb on Snow Leopard

2009-09-23 Thread MacRuby
#346: Can't run macirb on Snow Leopard +--- Reporter: comec...@… | Owner: lsansone...@… Type: defect | Status: new Priority: critical|

Re: [MacRuby-devel] [MacRuby] #346: Can't run macirb on Snow Leopard

2009-09-23 Thread MacRuby
#346: Can't run macirb on Snow Leopard +--- Reporter: comec...@… | Owner: lsansone...@… Type: defect | Status: new Priority: critical|

Re: [MacRuby-devel] [MacRuby] #346: Can't run macirb on Snow Leopard

2009-09-23 Thread MacRuby
#346: Can't run macirb on Snow Leopard +--- Reporter: comec...@… |Owner: lsansone...@… Type: defect | Status: closed Priority: critical|

[MacRuby-devel] [MacRuby] #347: module in module_function mode can't have methods with default args

2009-09-23 Thread MacRuby
#347: module in module_function mode can't have methods with default args -+-- Reporter: mattaimone...@… | Owner: lsansone...@… Type: defect | Status: new

[MacRuby-devel] require failing to find installed gem - from Cocoa app

2009-09-23 Thread Stevenson, Bob
I've installed a gem that I'm trying to use from the latest nightly; but the embedded macruby runtime; does not find the gem. Controller.rb:14:in `main': no such file to load -- xml-object (LoadError) What do I need to do so that the embedded macruby can find my installed gem? I can perform the

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Conrad Taylor
Hi, is this the complete application? If not, could you generate subset of your application that can be ran which produces the error message? -Conrad On Wed, Sep 23, 2009 at 2:46 PM, Robert Rice rice.au...@pobox.com wrote: Hi Laurent: Thanks for your quick reply. I have attached another file

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Laurent Sansonetti
Hi Robert, The problem here is dealloc. Same reason, dealloc is ignored by the runtime, and you should not use it in MacRuby, it will never be called. I just fixed macruby to not crash in case autorelease or dealloc is used, but keep in mind that using these selectors won't do anything.

Re: [MacRuby-devel] require failing to find installed gem - from Cocoa app

2009-09-23 Thread Laurent Sansonetti
Hi Bob, Did you embed MacRuby within your app? This could potentially explain why it cannot find the gem. Laurent On Sep 23, 2009, at 12:05 PM, Stevenson, Bob wrote: I've installed a gem that I'm trying to use from the latest nightly; but the embedded macruby runtime; does not find the

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Jordan Breeding
So in that case Ruby would be garbage collected, but ObjC code it uses will be ref counted? Sent from my iPhone On Sep 23, 2009, at 18:00, Laurent Sansonetti lsansone...@apple.com wrote: Hi Conrad, The thing is, MacRuby is built on top of the ObjC GC, so there is currently no way you

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Conrad Taylor
In regards to a MacRuby application, you would need to use GC for Objective-C. -Conrad On Wed, Sep 23, 2009 at 5:00 PM, Jordan Breeding jordan.breed...@me.comwrote: But would the new MacRuby interpreter be smart enough to switch between them and prefer GC Objc-C code, or would it be locked to

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Robert Rice
Hi Laurent: Thanks again. This gets me past the compile crashes but now the execution doesn't get very far before I get “EXC_BAD_INSTRUCTION” with no backtrace. Any suggestions? Program loaded. run [Switching to process 1521] Running… rb_main requiring AppDelegate.rb requiring

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Laurent Sansonetti
Hi Robert, This one will be hard to debug without your code. At least, from gdb, could you do a bt and copy/paste the output? Laurent On Sep 23, 2009, at 5:17 PM, Robert Rice wrote: Hi Laurent: Thanks again. This gets me past the compile crashes but now the execution doesn't get very

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Jordan Breeding
Sorry, I don't know if I missed something or not. Currently MacRuby has a GC (as does Ruby) and it is based on Obj-C's GC. This means that code pulled in to MacRuby MUST be GC currently. In my opinion this isn't horrible or extremely difficult as you can compile frameworks as -fobjc-gc