diff options
author | Lamont Granquist <lamont@chef.io> | 2020-08-25 11:24:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 11:24:01 -0700 |
commit | d5cbb9c8f73419e1b491dd87a048cae16a34412c (patch) | |
tree | e7951bba02dae4e61fd1e6a3437339ad2d217d03 | |
parent | ca369f03c7ccfc9c37391482a015fc340eb762b0 (diff) | |
parent | bc5b6a8388c5c61c7dcb2b1bb5962841e46ca543 (diff) | |
download | chef-d5cbb9c8f73419e1b491dd87a048cae16a34412c.tar.gz |
Merge pull request #10325 from chef/lcg/fix-windows-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.pwd) + "/*.dll") + assemblies = Dir.glob(File.expand_path("distro/ruby_bin_folder", __dir__) + "/*.dll") FileUtils.cp_r assemblies, ruby_exe_dir, verbose: false unless ENV["_BUNDLER_WINDOWS_DLLS_COPIED"] ENV["_BUNDLER_WINDOWS_DLLS_COPIED"] = "1" end |