File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ export class CommandEnvironmentHelper {
196196 }
197197
198198 private static buildPuppetEnvironment ( exe : Executable , config : IAggregateConfiguration ) {
199- exe . options . env . RUBYOPT = 'rubygems ' ;
199+ exe . options . env . RUBYOPT = '-rrubygems ' ;
200200 exe . options . env . SSL_CERT_FILE = config . ruby . sslCertFile ;
201201 exe . options . env . SSL_CERT_DIR = config . ruby . sslCertDir ;
202202 exe . options . env . RUBY_DIR = config . ruby . rubydir ;
@@ -205,7 +205,7 @@ export class CommandEnvironmentHelper {
205205 }
206206
207207 private static buildPDKEnvironment ( exe : Executable , config : IAggregateConfiguration ) {
208- exe . options . env . RUBYOPT = 'rubygems ' ;
208+ exe . options . env . RUBYOPT = '-rrubygems ' ;
209209 exe . options . env . DEVKIT_BASEDIR = config . ruby . puppetBaseDir ;
210210 exe . options . env . RUBY_DIR = config . ruby . pdkRubyDir ;
211211 exe . options . env . GEM_HOME = config . ruby . pdkGemDir ;
You can’t perform that action at this time.
0 commit comments