Skip to content

Commit 30f5e2d

Browse files
ojaberegon
authored andcommitted
Fixup bundler version for rubies with bundler as a default gem
Fixes #117
1 parent fd1d77b commit 30f5e2d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ async function installBundler(bundlerVersionInput, lockFile, platform, rubyPrefi
230230
const gem = path.join(rubyPrefix, 'bin', 'gem')
231231
await exec.exec(gem, ['install', 'bundler', '-v', `~> ${bundlerVersion}`, '--no-document'])
232232
}
233+
234+
core.exportVariable('BUNDLER_VERSION', bundlerVersion)
233235
}
234236

235237
async function bundleInstall(gemfile, lockFile, platform, engine, version) {

0 commit comments

Comments
 (0)