Fix value for options

This commit is contained in:
Benoit Daloze
2020-12-07 21:12:36 +01:00
parent cadade3366
commit e5a267414f
3 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -240,9 +240,11 @@ async function bundleInstall(gemfile, lockFile, platform, engine, rubyVersion, b
return false
}
// Before the lockfile exists, we need to specify which Bundler version to use explicitly
const optionsWithBundlerVersion = { env: { ...process.env, BUNDLER_VERSION: bundlerVersion } }
// config
const path = 'vendor/bundle'
const optionsWithBundlerVersion = {options: {env: {...process.env, BUNDLER_VERSION: bundlerVersion}}}
await exec.exec('bundle', ['config', '--local', 'path', path], optionsWithBundlerVersion)