diff --git a/bucket/puppet-bolt.json b/bucket/puppet-bolt.json index 7087f3e2d2..1f4a60e7a6 100644 --- a/bucket/puppet-bolt.json +++ b/bucket/puppet-bolt.json @@ -10,7 +10,7 @@ } }, "extract_dir": "Puppet Labs\\Bolt", - "pre_install": "Set-Content \"$dir\\bolt.bat\" '@ECHO OFF', 'SETLOCAL', 'SET GEM_HOME=', '%~dp0bin\\bolt.bat %*' -Encoding Ascii", + "pre_install": "Set-Content \"$dir\\bolt.bat\" '@ECHO OFF', 'SETLOCAL', 'SET GEM_HOME=','SET GEM_PATH=', '%~dp0bin\\bolt.bat %*' -Encoding Ascii", "post_install": [ "if (Test-Path \"$dir\\share\\install-tarballs\\ruby*.tgz\") {", " info 'Extract tarball of gems...'",