Add workaround for Ruby 3.1 after RubyGems 3.7.0 release

This commit is contained in:
David Rodríguez
2025-07-16 23:02:44 +02:00
committed by Benoit Daloze
parent a4f8389190
commit a0d08243d4
2 changed files with 6 additions and 2 deletions
Generated Vendored
+3 -1
View File
@@ -71454,8 +71454,10 @@ async function rubygemsLatest(gem, platform, engine, rubyVersion) {
const floatVersion = common.floatVersion(rubyVersion)
if (common.isHeadVersion(rubyVersion)) {
console.log('Ruby master builds use included RubyGems')
} else if (floatVersion >= 3.1) {
} else if (floatVersion >= 3.2) {
await exec.exec(gem, ['update', '--system'])
} else if (floatVersion >= 3.1) {
await exec.exec(gem, ['update', '--system', '3.6.9'])
} else if (floatVersion >= 3.0) {
await exec.exec(gem, ['update', '--system', '3.5.23'])
} else if (floatVersion >= 2.6) {