bundlerEnv: ignore bundler configuration file

Change will make packaged ruby application ignore the user-wide bundle
configuration.

Fix #85989
This commit is contained in:
David Costa 2021-01-24 16:39:17 +01:00
parent 49477e7bfa
commit bcc809ac85

View file

@ -34,6 +34,7 @@ paths.each do |path|
ENV["BUNDLE_GEMFILE"] = #{gemfile.dump}
ENV.delete 'BUNDLE_PATH'
ENV['BUNDLE_FROZEN'] = '1'
ENV['BUNDLE_IGNORE_CONFIG'] = '1'
Gem.paths = { 'GEM_HOME' => #{bundle_path.dump} }