diff options
author | shields <shields@tablecheck.com> | 2022-08-28 22:40:02 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-08-29 00:33:15 +0900 |
commit | 8799c912052f8bb957a65edd103e0064cac94598 (patch) | |
tree | 6bd697fbc6a44e96d12adfc161196572bd029ab5 /lib/bundler/rubygems_ext.rb | |
parent | 1486ffe03913076889290e38d86a7bdaca4e6fbd (diff) | |
download | ruby-8799c912052f8bb957a65edd103e0064cac94598.tar.gz |
[rubygems/rubygems] Add platform :windows as a shortcut for all Windows platforms
https://github.com/rubygems/rubygems/commit/f3c49ad3f7
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index d976170f12..056053a783 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -237,6 +237,7 @@ module Gem MINGW = Gem::Platform.new("x86-mingw32") X64_MINGW = [Gem::Platform.new("x64-mingw32"), Gem::Platform.new("x64-mingw-ucrt")].freeze + WINDOWS = [MSWIN, MSWIN64, MINGW, X64_MINGW].flatten.freeze if Gem::Platform.new("x86_64-linux-musl") === Gem::Platform.new("x86_64-linux") remove_method :=== |