marcandre / backports

The latest features of Ruby backported to older versions.
MIT License
437 stars 52 forks source link

fails on rubinius #15

Closed rkh closed 14 years ago

rkh commented 14 years ago

Apparently, require 'backports/1.8.8' (thus require 'backports') fails on rubinius: see http://gist.github.com/286290 Backports version is 1.13.0, running on OSX 10.6 against rubinius 1.0rc2.

rkh commented 14 years ago

Never mind, old rbc.

marcandre commented 14 years ago

I was able to reproduce the bug.

ENV.index is missing from rubinius (and from rubyspec too). I've changed backports so it doesn't raise an error in case of a missing feature. I'll update rubyspec & rubinius when I get a second, but the newest backports should not cause any problem in Rubinius anymore.

Thanks for the bug report!