diff --git a/dist/index.js b/dist/index.js index d231f96..9d18b04 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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) { diff --git a/rubygems.js b/rubygems.js index f96cfca..9c4609c 100644 --- a/rubygems.js +++ b/rubygems.js @@ -39,8 +39,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) {