[MacRuby-devel] posix_spawn Permission denied

2010-10-14 Thread Shaun August
Hi, I am building some applications for the first time and when I transfer them over to a new computer I am getting a posix_spawn permission denied error. I read a bit about this on the net and it seems it can be caused by dropbox. I use dropbox to transfer my files but they are always zipped.

[MacRuby-devel] gen_bridge_metadata

2010-10-14 Thread Larry Wilson
I've been playing around with the EmbeddedMacRuby project. I'd like to be able to: a) Run user scripts (written in Ruby) from within a cocoa application (so far, so good) b) Call ruby functions from objective-c c) Call my private objective-c API's from Ruby functions and scripts I'm ha

[MacRuby-devel] MacRuby 0.7 with Appscript

2010-10-14 Thread Gabriel Gilder
Hi all, I've just updated to MacRuby 0.7 and it appears that it breaks Appscript... I've recompiled the framework, re-ran the macruby-appscript setup.rb, but if I try to require "appscript" I get: Program received signal: “EXC_BAD_ACCESS”. sharedlibrary apply-load-rules all warning: Unable to re

Re: [MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Alistair Holt
MacRuby FTW! :) Alistair Holt On 14 October 2010 22:59, Laurent Sansonetti wrote: > Hi Alistair, > > Yes, you just use the Embed target and you should be fine :) > > Let us know if you have any question. > > Laurent > > On Oct 14, 2010, at 8:11 AM, Alistair Holt wrote: > > Thanks Thibault :) C

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Laurent Sansonetti
Hi Perry, If you install the nightly build, you can still go back to 0.7 by re-installing 0.7 on top of it after. Laurent On Oct 14, 2010, at 3:16 PM, Perry E. Metzger wrote: > On Thu, 14 Oct 2010 14:01:31 -0700 Laurent Sansonetti > wrote: >> All of these work fine in my environment: > [...]

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Perry E. Metzger
On Thu, 14 Oct 2010 14:01:31 -0700 Laurent Sansonetti wrote: > All of these work fine in my environment: [...] > I will have a look, but could you try a nightly build and see if > you still reproduce the problem? I'm using 0.7. Is there a good way for me to try the nightly build without installin

Re: [MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Laurent Sansonetti
Hi Alistair, Yes, you just use the Embed target and you should be fine :) Let us know if you have any question. Laurent On Oct 14, 2010, at 8:11 AM, Alistair Holt wrote: > Thanks Thibault :) Could anyone else confirm that rb_main.rb doesn't need to > be edited when embedding MacRuby 0.7? > >

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Laurent Sansonetti
All of these work fine in my environment: $ /usr/local/bin/macirb irb(main):001:0> NSArray.array => [] $ /usr/local/bin/macirb irb(main):001:0> framework 'AppKit' => true irb(main):002:0> NSSpeechSynthesizer.availableVoices => ["com.apple.speech.synthesis.voice.Agnes", …] I will have a look, but

Re: [MacRuby-devel] Sequel + SQLite Crash SIGABRT

2010-10-14 Thread Thomas Kollbach
On 06.10.2010, at 10:36, Mario Steele wrote: > On Wed, Oct 6, 2010 at 4:21 AM, Laurent Sansonetti > wrote: > >> Hi Mario, >> >> Thanks for filing the problem, I will have a look soon. >> > > Thanks, this is a show stopper right now for my Program, as I need a > database in which I can store

Re: [MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Alistair Holt
Thanks Thibault :) Could anyone else confirm that rb_main.rb doesn't need to be edited when embedding MacRuby 0.7? -- Alistair On Oct 14, 2010, at 15:55, Thibault Martin-Lagardette wrote: > Hi :-) > > - MacRuby 0.7 doesn't support 10.5, neither for regular use or embedding. > - If you create

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Eloy Duran
Thanks for the reduction. Could you create a ticket and assign to me? Eloy On Oct 14, 2010, at 4:11 PM, Louis-Philippe wrote: > > It seems to work for me: > > > > % macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' > > "0.7" > > "svn revision 4566 from > > http://svn.macosforge.org/repository/ru

Re: [MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Thibault Martin-Lagardette
Hi :-) - MacRuby 0.7 doesn't support 10.5, neither for regular use or embedding. - If you create a MacRuby project with the MacRuby Xcode template, you will have a "release" (or something similar) configuration that will do it for you (if I'm not mistaken). -- Thibault Martin-Lagardette On Thu

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Perry E. Metzger
On Thu, 14 Oct 2010 15:36:53 +0200 Eloy Duran wrote: > Hi Perry, > > Could you create a ticket for this and assign it to me? https://www.macruby.org/trac/ticket/955 However, I'm not clear on how to assign tickets to anyone so I didn't. Can you tell me what to do? Perry > > Thanks, > Eloy >

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Louis-Philippe
> > > It seems to work for me: >> > >> > % macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' >> > "0.7" >> > "svn revision 4566 from >> http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7"; >> >> Same Here > > % macruby -e 'p NSArray.array' >> > [] >> > >> > This also work for me here..

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Eloy Duran
Hi, It seems to work for me: % macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' "0.7" "svn revision 4566 from http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7"; % macruby -e 'p NSArray.array' [] % macruby -e 'p NSArray.new' [] Which version are you

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Eloy Duran
Hi Perry, Could you create a ticket for this and assign it to me? Thanks, Eloy On Oct 14, 2010, at 3:31 PM, Perry E. Metzger wrote: > On Thu, 14 Oct 2010 09:15:34 -0400 Louis-Philippe > wrote: >> Hi all, >> >> on my system, with MacRuby 0.7, I get this error: >> NSArray.array >> Argumen

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Louis-Philippe
0.7 release 2010/10/14 Eloy Duran > To be clear, by version I meant: are you using 0.7 release or did you > compile it yourself from a different revision? > > On Oct 14, 2010, at 3:33 PM, Eloy Duran wrote: > > > Hi, > > > > It seems to work for me: > > > > % macruby -e 'p MACRUBY_VERSION, MACRUB

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Eloy Duran
To be clear, by version I meant: are you using 0.7 release or did you compile it yourself from a different revision? On Oct 14, 2010, at 3:33 PM, Eloy Duran wrote: > Hi, > > It seems to work for me: > > % macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION' > "0.7" > "svn revision 4566 from > htt

Re: [MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Perry E. Metzger
On Thu, 14 Oct 2010 09:15:34 -0400 Louis-Philippe wrote: > Hi all, > > on my system, with MacRuby 0.7, I get this error: > > >> NSArray.array > ArgumentError: wrong number of arguments > > every NSArray constructor method seems to exibit some kind of > similar behaviour. > I searched the ticket

[MacRuby-devel] Questions about embedding MacRuby 0.7

2010-10-14 Thread Alistair Holt
Hello, I have a few questions about distributing apps with MacRuby 0.7 embedded: - Is embedded 0.7 supported on 10.5? - I followed the tips in this screencast ( http://pragmaticstudio.com/screencasts/7-embedding-macruby) and added some extra code to my rb_main.rb but after reading the 0.7 release

[MacRuby-devel] NSArray constructor broken?

2010-10-14 Thread Louis-Philippe
Hi all, on my system, with MacRuby 0.7, I get this error: >> NSArray.array ArgumentError: wrong number of arguments every NSArray constructor method seems to exibit some kind of similar behaviour. I searched the tickets and couldn't find it there. L-P ___