class Bundler::SystemRubyVersion

def engine_version

def engine_version
  case engine
  when "ruby"
    RUBY_VERSION.dup
  when "rbx"
    Rubinius::VERSION.dup
  when "jruby"
    JRUBY_VERSION.dup
  else
    raise BundlerError, "RUBY_ENGINE value #{RUBY_ENGINE} is not recognized"
    nil
  end
end