diff options
author | Lamont Granquist <lamont@chef.io> | 2020-08-19 15:40:17 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-24 22:30:37 -0700 |
commit | bc5b6a8388c5c61c7dcb2b1bb5962841e46ca543 (patch) | |
tree | c8c364242e034f36bc0a6c6c9bfd10ddb5ff5bec /Gemfile | |
parent | ba934c5910b9af3bf64300794ec2a35fa8528448 (diff) | |
download | chef-bc5b6a8388c5c61c7dcb2b1bb5962841e46ca543.tar.gz |
Update Gemfile
lcg/fix-windows-gemfile
Signed-off-by: Lamont Granquist <lamont@chef.io>
Co-authored-by: pete higgins <pete@peterhiggins.org>
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", File.dirname(__FILE__)) + "/*.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 |