summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authormwrock <matt@mattwrock.com>2020-09-30 17:34:29 -0700
committermwrock <matt@mattwrock.com>2020-10-01 16:32:54 -0700
commit9833cc34a88ef149c8a8565880440102068345bb (patch)
tree617d23dd2050343b6ae6a94b18c9dc058ec660b4 /Gemfile
parent6b077d998a0c3168cb7edb19d9d70d122ecafc95 (diff)
downloadchef-9833cc34a88ef149c8a8565880440102068345bb.tar.gz
add interpreter arg to powershell_exec allowing it to run powershell core
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 101e5df8a2..cc22619aed 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__) + "/*.dll")
+ assemblies = Dir.glob(File.expand_path("distro/ruby_bin_folder", __dir__) + "**/*")
FileUtils.cp_r assemblies, ruby_exe_dir, verbose: false unless ENV["_BUNDLER_WINDOWS_DLLS_COPIED"]
ENV["_BUNDLER_WINDOWS_DLLS_COPIED"] = "1"
end