class Bundler::CurrentRuby

def ruby?

def ruby?
  return true if Bundler::GemHelpers.generic_local_platform == Gem::Platform::RUBY
  !windows? && (RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx" || RUBY_ENGINE == "maglev" || RUBY_ENGINE == "truffleruby")
end