[MacRuby-devel] MacRuby port of Sketch sample

Laurent Sansonetti lsansonetti at apple.com
Mon Aug 16 13:36:10 PDT 2010


Cool, I will import the Rakefile later today.

Regarding the yield / block.call thing, it could potentially be a bug in MacRuby. If you could try to isolate it and file a ticket, it would be very helpful.

Laurent

On Aug 16, 2010, at 1:29 PM, Dave Baldwin wrote:

> Hi Laurent.
> 
> Thanks for the kind words.
> 
> Just added a rakefile to the project so it can be build without using xcode.  Rakefile works with rake or macrake.
> 
> Incidentally to get the rakefile to work with macrake I had to change a yield to a block.call.  I don't know if this is expected 1.9 behaviour or is showing up a real bug.
> 
> Dave.
> 
> On 2 Aug 2010, at 22:07, Laurent Sansonetti wrote:
> 
>> Impressive work Dave :) 
>> 
>> I gave it a try on trunk and it seems to work flawlessly, so I added it into the repository in r4397. Let me know if you have make any change in the github version that you would like to see backported in the MacRuby repository at some point.
>> 
>> Thanks a lot for working on this. I think it will be very informative for people to be able to compare this version with the Objective-C variant.
>> 
>> Laurent
>> 
>> On Aug 2, 2010, at 10:54 AM, Dave Baldwin wrote:
>> 
>>> I have completed porting the Apple sample "Sketch" to MacRuby and it can be found here:
>>> 
>>> http://github.com/davebaldwin/Ruby-Sketch
>>> 
>>> As far as I can tell it behaves in an identical way to the original Sketch example (excluding scripting support).  I am happy for this to become part of the MacRuby distribution.
>>> 
>>> Dave.
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list