One possible explanation is following: If you run the gem with IronRuby 1.0 it 
runs in 1.8.6 compat mode. There may be a condition that checks for the 
RUBY_VERSION in the gem. On Ruby 1.1.2 the RUBY_VERSION is 1.9.2 and thus some 
other code path might be executed that depends on Hash#flatten. I don't think 
we regressed, it's just a missing feature. Feel free to implement it and send a 
pull request.

Tomas

From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Thibaut Barrère
Sent: Wednesday, February 09, 2011 11:00 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Error Using Bewildr Gem in V1.1.2

Hi Larry,
undefined method `flatten' for {:name=>"Modeling"}:Hash (NoMethodError)

I can reproduce this here as well: https://gist.github.com/819024

My understanding is that Hash#flatten only exist on 1.9 and not on 1.8.

Is there a regression here maybe ?

-- Thibaut
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to