mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Don't install Bundler on Windows mingw, mswin & ucrt builds
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user