[MacRuby-devel] Question about current design

Laurent Sansonetti lsansonetti at apple.com
Fri Jan 29 13:27:08 PST 2010


Hi Emmanuel,

On Jan 27, 2010, at 9:08 AM, Emmanuel Pinault wrote:

> Hi,
>
> I am looking through the repository and although I understand that  
> some class are directly mapping to Object-C class instead, I am  
> curious about how do you go to bring a new version of Ruby 1.9.x?
> Since you are replacing most of the code in  string.c for example,  
> will you to backport all the time changes from 1.9.x?

We do not really share code with the upstream Ruby anymore, except  
maybe the parser and the standard library. All we do is track API  
changes and do the appropriate changes.

> Also, how do you go about embedding some gem ? I see how you embed  
> the framework for MacRuby but what about gems? Do you just have to  
> copy the source code of the gem as well and replace some Path?

If you're talking about embedding a gem in your .app bundle, then it's  
still a question mark. Currently, gems are installed within the  
MacRuby framework, so change the gem home/path at runtime might simply  
work.

Laurent


More information about the MacRuby-devel mailing list