diff --git a/bundler.js b/bundler.js index 79c4ace..03709f3 100644 --- a/bundler.js +++ b/bundler.js @@ -80,7 +80,7 @@ export async function installBundler(bundlerVersionInput, rubygemsInputSet, lock } else if (common.isBundler2Default(engine, rubyVersion)) { console.log(`Using Bundler 2 shipped with ${engine}-${rubyVersion}`) return '2' - } else if (common.isBundler1Default(engine, rubyVersion) && engine !== 'ruby') { + } else if (common.isBundler1Default(engine, rubyVersion)) { console.log(`Using Bundler 1 shipped with ${engine}-${rubyVersion}`) return '1' } else { diff --git a/dist/index.js b/dist/index.js index bf15052..e16c42b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -94,7 +94,7 @@ async function installBundler(bundlerVersionInput, rubygemsInputSet, lockFile, p } else if (common.isBundler2Default(engine, rubyVersion)) { console.log(`Using Bundler 2 shipped with ${engine}-${rubyVersion}`) return '2' - } else if (common.isBundler1Default(engine, rubyVersion) && engine !== 'ruby') { + } else if (common.isBundler1Default(engine, rubyVersion)) { console.log(`Using Bundler 1 shipped with ${engine}-${rubyVersion}`) return '1' } else {