[Ironruby-core] Error Using Bewildr Gem in V1.1.2

Thibaut Barrère thibaut.barrere at gmail.com
Thu Feb 10 04:14:53 EST 2011


Hi Thomas,

> 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.

I'll take this one, now that I've got the build working on Mac OS X.

I will ask you tips if I meet issues while running the test suite there.

-- Thibaut


>
>
>
> Tomas
>
>
>
> From: ironruby-core-bounces at rubyforge.org
> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barrère
> Sent: Wednesday, February 09, 2011 11:00 AM
> To: ironruby-core at 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>


More information about the Ironruby-core mailing list