From 30f5e2d4cd1b8bf01480423c9be9c5671a083aeb Mon Sep 17 00:00:00 2001 From: ojab Date: Fri, 4 Dec 2020 18:17:49 +0000 Subject: [PATCH] Fixup bundler version for rubies with bundler as a default gem Fixes #117 --- dist/index.js | 2 ++ index.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dist/index.js b/dist/index.js index dbedbec..dd37635 100644 --- a/dist/index.js +++ b/dist/index.js @@ -51402,6 +51402,8 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi const gem = path.join(rubyPrefix, 'bin', 'gem') await exec.exec(gem, ['install', 'bundler', '-v', `~> ${bundlerVersion}`, '--no-document']) } + + core.exportVariable('BUNDLER_VERSION', bundlerVersion) } async function bundleInstall(gemfile, lockFile, platform, engine, version) { diff --git a/index.js b/index.js index 4d5468b..6406a22 100644 --- a/index.js +++ b/index.js @@ -230,6 +230,8 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi const gem = path.join(rubyPrefix, 'bin', 'gem') await exec.exec(gem, ['install', 'bundler', '-v', `~> ${bundlerVersion}`, '--no-document']) } + + core.exportVariable('BUNDLER_VERSION', bundlerVersion) } async function bundleInstall(gemfile, lockFile, platform, engine, version) {