Don't install Bundler on Windows mingw, mswin & ucrt builds

This commit is contained in:
MSP-Greg
2022-08-23 20:43:55 +02:00
committed by Benoit Daloze
parent 3804ad4ff2
commit ae403e8ff4
2 changed files with 2 additions and 2 deletions
Generated Vendored
+1 -1
View File
@@ -86,7 +86,7 @@ async function installBundler(bundlerVersionInput, rubygemsInputSet, lockFile, p
if (bundlerVersion === 'default') {
if (common.isBundler2dot2Default(engine, rubyVersion)) {
if (common.windows && engine === 'ruby') {
if (common.windows && engine === 'ruby' && (common.isStableVersion(rubyVersion) || rubyVersion === 'head')) {
// https://github.com/ruby/setup-ruby/issues/371
console.log(`Installing latest Bundler for ${engine}-${rubyVersion} on Windows because bin/bundle does not work in bash otherwise`)
bundlerVersion = 'latest'