From f1fe4a4a99f8ef182b18d90b66f572497a0d41e9 Mon Sep 17 00:00:00 2001 From: Johnny Shields Date: Sat, 18 Feb 2023 23:00:42 +0900 Subject: [PATCH] [rubygems/rubygems] Update current_ruby.rb https://github.com/rubygems/rubygems/commit/8755ca959e --- lib/bundler/current_ruby.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bundler/current_ruby.rb b/lib/bundler/current_ruby.rb index 7a5426748c..1d2d8ff2fb 100644 --- a/lib/bundler/current_ruby.rb +++ b/lib/bundler/current_ruby.rb @@ -71,10 +71,10 @@ module Bundler def windows? Gem.win_platform? end - alias mswin? windows? - alias mswin64? windows? - alias mingw? windows? - alias x64_mingw? windows? + alias_method :mswin?, :windows? + alias_method :mswin64?, :windows? + alias_method :mingw?, :windows? + alias_method :x64_mingw?, :windows? (KNOWN_MINOR_VERSIONS + KNOWN_MAJOR_VERSIONS).each do |version| trimmed_version = version.tr(".", "")