Some code in the extensions/_base.rb is checking VERSION to determine
if running on a new enough version of ruby. This constant isn’t
defined (NB: RUBY_VERSION is defined).
When I set VERSION = RUBY_VERSION before require’ing ‘extensions/all’
I get this error instead:
RuntimeError: Ruby/Extensions: internal error: was supposed to
implement Array#select!, but it didn’t!
from C:/Ruby19/lib/ruby/gems/1.9.1/gems/extensions-0.6.0/lib/
extensions/_base.rb:113:in `implement’
irb(main):002:0> require ‘extensions/all’
RuntimeError: Ruby/Extensions: internal error: was supposed to
implement Array#select!, but it didn’t!
from C:/Ruby19/lib/ruby/gems/1.9.1/gems/extensions-0.6.0/lib/
extensions/_base.rb:113:in `implement’
Thanks Luis - I uninstalled and tried Ruby 1.8 from ‘ruby installer’
instead, and it worked. I see from (eigenclass.org?
Changes+in+Ruby+1.9) that VERSION is deprecated so this is all a Ruby
version issue.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.