diff options
author | mwrock <matt@mattwrock.com> | 2020-10-09 18:24:34 -0700 |
---|---|---|
committer | mwrock <matt@mattwrock.com> | 2020-10-09 18:24:34 -0700 |
commit | 2cfa07fb9147e43c497f7b3ab5c729f378c9055b (patch) | |
tree | ab8ab9ec8d6a6bf80ffd115728cc5431afac0f29 /Gemfile | |
parent | e1357e15dc0e3258cf0dba335dc8eb50af87ff6e (diff) | |
download | chef-2cfa07fb9147e43c497f7b3ab5c729f378c9055b.tar.gz |
provide powershell_exec functionality on x86ps_exec_x86
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ eval_gemfile("./Gemfile.local") if File.exist?("./Gemfile.local") if RUBY_PLATFORM.match?(/mswin|mingw|windows/) instance_eval do ruby_exe_dir = RbConfig::CONFIG["bindir"] - assemblies = Dir.glob(File.expand_path("distro/ruby_bin_folder", __dir__) + "**/*") + assemblies = Dir.glob(File.expand_path("distro/ruby_bin_folder/#{ENV["PROCESSOR_ARCHITECTURE"]}", __dir__) + "**/*") FileUtils.cp_r assemblies, ruby_exe_dir, verbose: false unless ENV["_BUNDLER_WINDOWS_DLLS_COPIED"] ENV["_BUNDLER_WINDOWS_DLLS_COPIED"] = "1" end |