summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authormwrock <matt@mattwrock.com>2020-10-09 18:24:34 -0700
committermwrock <matt@mattwrock.com>2020-10-09 18:24:34 -0700
commit2cfa07fb9147e43c497f7b3ab5c729f378c9055b (patch)
treeab8ab9ec8d6a6bf80ffd115728cc5431afac0f29 /Gemfile
parente1357e15dc0e3258cf0dba335dc8eb50af87ff6e (diff)
downloadchef-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--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index cc22619aed..5aec74f83f 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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