Re: [MacRuby-devel] Who wants to install gems anyways?! Introducing MicroGem

2009-02-11 Thread Manfred Stienstra
On Feb 10, 2009, at 12:11 AM, Rich Morin wrote: I don't care what magic characters are allowed. You mean Unicode Plane 17 - Supplementary Magical-purpose Plane, the one with the Unicorns and Djinns? ___ MacRuby-devel mailing list MacRuby-devel@l

[MacRuby-devel] Help with bug from Cucumber codebase

2009-02-11 Thread M. Scott Ford
Hello, I have been trying to get cucumber working with MacRuby, and I have run into a bug. I have tracked the source of it down to a block of code in cucumber's code base[BLOCK 1]. I have condensed this down to a much smaller example[BLOCK 2]. In ruby 1.9.1 the second block results in 'ye

Re: [MacRuby-devel] Help with bug from Cucumber codebase

2009-02-11 Thread M. Scott Ford
Sorry to reply to my own post but I have been playing with this all day to figure out what is wrong. I have narrowed the problem down to the merge method, but I am not sure how to fix it. Here are some test cases. These all pass in ruby 1.9.1. The first one fails in MacRuby trunk, but the o

Re: [MacRuby-devel] Help with bug from Cucumber codebase

2009-02-11 Thread M. Scott Ford
And the fix. Change rb_hash_merge to use rb_obj_dup instead of rb_hash_dup. On Feb 11, 2009, at 2:48 PM, M. Scott Ford wrote: Sorry to reply to my own post but I have been playing with this all day to figure out what is wrong. I have narrowed the problem down to the merge method, but I am n

Re: [MacRuby-devel] Help with bug from Cucumber codebase

2009-02-11 Thread Laurent Sansonetti
Thanks for the detective work Scott! Could you create a test case in test/ruby/test_hash.rb and send us a patch? I would then merge it. Laurent On Feb 11, 2009, at 12:11 PM, M. Scott Ford wrote: And the fix. Change rb_hash_merge to use rb_obj_dup instead of rb_hash_dup. On Feb 11, 2009, at