From acdc6abca82ddba8312e2bfd7968aaaaf3337a49 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 10 Jan 2024 18:37:37 +0900 Subject: [rubygems/rubygems] Disable false positive correction https://github.com/rubygems/rubygems/commit/e75cca9496 --- lib/bundler/rubygems_ext.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index ab502e4a2e..3cb4e70a56 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -282,7 +282,7 @@ module Gem # On universal Rubies, resolve the "universal" arch to the real CPU arch, without changing the extension directory. class BasicSpecification - if /^universal\.(?.*?)-/ =~ CROSS_COMPILING || RUBY_PLATFORM + if /^universal\.(?.*?)-/ =~ (CROSS_COMPILING || RUBY_PLATFORM) # rubocop:disable Style/RedundantParentheses local_platform = Platform.local if local_platform.cpu == "universal" ORIGINAL_LOCAL_PLATFORM = local_platform.to_s.freeze -- cgit v1.2.3