[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
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[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 notes I'm not
sure if editing rb_main.rb is actually required anymore?

Thanks

Alistair Holt
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 tickets and couldn't find it there.

I had a similarly interesting problem last night with the brand new
0.7. I can summarize it this way:

$ macirb --simple-prompt
>> framework 'AppKit'=> true
>> NSSpeechSynthesizer.availableVoices
TypeError: can't convert Class into String

>> 

This is clearly wrong. (It is even an example given in
http://macruby.labs.oreilly.com/ch01.html and clearly should work.)

-- 
Perry E. [email protected]
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 
> http://svn.macosforge.org/repository/ruby/MacRuby/branches/0.7";
> 
> % macruby -e 'p NSArray.array' 
> []
> 
> % macruby -e 'p NSArray.new'  
> []
> 
> Which version are you using?
> 
> Eloy
> 
> On Oct 14, 2010, at 3:15 PM, 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 tickets and couldn't find it there.
>> 
>> L-P
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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, 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 using?
> >
> > Eloy
> >
> > On Oct 14, 2010, at 3:15 PM, 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 tickets and couldn't find it there.
> >>
> >> L-P
> >> ___
> >> MacRuby-devel mailing list
> >> [email protected]
> >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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
>> 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.
> 
> I had a similarly interesting problem last night with the brand new
> 0.7. I can summarize it this way:
> 
> $ macirb --simple-prompt
>>> framework 'AppKit'=> true
>>> NSSpeechSynthesizer.availableVoices
> TypeError: can't convert Class into String
>   
>>> 
> 
> This is clearly wrong. (It is even an example given in
> http://macruby.labs.oreilly.com/ch01.html and clearly should work.)
> 
> -- 
> Perry E. Metzger  [email protected]
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 using?

Eloy

On Oct 14, 2010, at 3:15 PM, 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 tickets and couldn't find it there.
> 
> L-P
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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...  so the behaviour is only in macirb.


> > % macruby -e 'p NSArray.new'
>> > []
>> >
>>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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
> 
> 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
> >> 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.
> > 
> > I had a similarly interesting problem last night with the brand
> > new 0.7. I can summarize it this way:
> > 
> > $ macirb --simple-prompt
> >>> framework 'AppKit'=> true
> >>> NSSpeechSynthesizer.availableVoices
> > TypeError: can't convert Class into String
> > 
> >>> 
> > 
> > This is clearly wrong. (It is even an example given in
> > http://macruby.labs.oreilly.com/ch01.html and clearly should
> > work.)
> > 
> > -- 
> > Perry E. [email protected]
> > ___
> > MacRuby-devel mailing list
> > [email protected]
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 



-- 
Perry E. [email protected]
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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, Oct 14, 2010 at 15:29, Alistair Holt  wrote:

> 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 notes I'm not
> sure if editing rb_main.rb is actually required anymore?
>
> Thanks
>
> Alistair Holt
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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/ruby/MacRuby/branches/0.7";
> 
> 
> Same Here 
>  
> > % macruby -e 'p NSArray.array'
> > []
> >
> 
> This also work for me here...  so the behaviour is only in macirb.
>  
> > % macruby -e 'p NSArray.new'
> > []
> >
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 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, Oct 14, 2010 at 15:29, Alistair Holt  wrote:
> 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 notes I'm not 
> sure if editing rb_main.rb is actually required anymore?
> 
> Thanks
> 
> Alistair Holt
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 MP3 tag info into, and keep references to
> where files are for playing.  I can't really progress further till I can get
> this problem out of the way.  I would use plist or XML, but there may be
> hundreds of thousands of songs in the database, and I feel it'd be easier to
> go through the SQLite route, as it won't have to pre-load every single
> instance of a song in the database, to find one, there by saving memory, and
> processor time.

Have you thought about using Core Data? 

It works well in MacRuby and can be used with an SQLite store - although Core 
Data is more an Object Database then a Relational Database.

Alternatively you could use Cocoa Wrappers for SQLite, the most popular ones 
being PLDatabase (http://pldatabase.googlecode.com/) and fmdb 
(http://github.com/ccgus/fmdb).

None of these options is as slick as Sequel, but they will work.

Cheers,
toto
--
"In ancient times cats were worshipped as gods; they have not forgotten this."
– Terry Pratchett

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 could you try a nightly build and see if you still 
reproduce the problem?

http://www.macruby.org/files/nightlies/

Laurent

On Oct 14, 2010, at 6:31 AM, 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
>> 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.
> 
> I had a similarly interesting problem last night with the brand new
> 0.7. I can summarize it this way:
> 
> $ macirb --simple-prompt
>>> framework 'AppKit'=> true
>>> NSSpeechSynthesizer.availableVoices
> TypeError: can't convert Class into String
>   
>>> 
> 
> This is clearly wrong. (It is even an example given in
> http://macruby.labs.oreilly.com/ch01.html and clearly should work.)
> 
> -- 
> Perry E. Metzger  [email protected]
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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?
> 
> --
> 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 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, Oct 14, 2010 at 15:29, Alistair Holt  wrote:
>> 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 notes I'm not 
>> sure if editing rb_main.rb is actually required anymore?
>> 
>> Thanks
>> 
>> Alistair Holt
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 installing it for real?


-- 
Perry E. [email protected]
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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:
> [...]
>> 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 installing it for real?
> 
> 
> -- 
> Perry E. Metzger  [email protected]

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


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 :) 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 <
> [email protected]> wrote:
>
> 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, Oct 14, 2010 at 15:29, Alistair Holt < 
> [email protected]> wrote:
>
>> 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 notes I'm
>> not sure if editing rb_main.rb is actually required anymore?
>>
>> Thanks
>>
>> Alistair Holt
>>
>> ___
>> MacRuby-devel mailing list
>>  [email protected]
>>  
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[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 restore previously selected frame.
Data Formatters temporarily unavailable, will re-try after a 'continue'.
(Not safe to call dlopen at this time.)

Does anyone have a suggestion for an alternative easy way to script other
applications from MacRuby?

Thanks,

-Gabriel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[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 having problems with b & c.

I'm assuming that the mechanism for b & c is different than that used to 
execute a Ruby script.  It looks like gen_bridge_metadata script should be used 
to make my objective-c class and methods visible to Ruby.

However, when I try to run gen_bridge_metadata on a simple header file that 
declares an objective-c class and a couple of test methods, gen_bridge_metadata 
doesn't produce anything in the output file other than the 3 lines of header 
information...

  1 
  2 
  3 

I'm running the tool as follows (I've also tried a number of other variations):

gen_bridge_metadata -c '-I.' MyController.h -o 
MyController.bridgesupport 

I'm running 10.6.4,   ruby 1.8.7 , with macRuby 0.7 installed.

I also have ruby1.9 installed.

Questions...

1) Shouldn't this produce at least simple output with information regarding the 
class and method calls?

2) Is there some documentation (or examples) somewhere that shows how to set 
things up properly to enable items b & c?  I haven't been able to find anything 
in the documentation, or on the web that actually demonstrates how to do this, 
and gen_bridge_metadata doesn't seem to be cooperating.

Any pointers or suggestions welcome.


Thanks.

-Larry

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[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. Does anyone have 
any suggestions as to other causes with the posix_spawn permission denied error?

Thanks,

Shaun

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel