diff options
author | Stuart Preston <stuart@chef.io> | 2018-06-27 00:24:51 +0100 |
---|---|---|
committer | Stuart Preston <stuart@chef.io> | 2018-06-27 00:24:51 +0100 |
commit | e2a74c1a3f7e8b0e5276abfb3d4ea96b51a94672 (patch) | |
tree | 526261b73d8b23863b7979e40eedc87821f08f18 /Gemfile | |
parent | 2925021aba749ee0c00c082b280c2aba12cc4be9 (diff) | |
download | chef-e2a74c1a3f7e8b0e5276abfb3d4ea96b51a94672.tar.gz |
Only copy dlls to target location once on bundle install
Signed-off-by: Stuart Preston <stuart@chef.io>
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -76,6 +76,7 @@ if RUBY_PLATFORM =~ /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") - FileUtils.cp_r assemblies, ruby_exe_dir + FileUtils.cp_r assemblies, ruby_exe_dir, verbose: true unless ENV['_BUNDLER_WINDOWS_DLLS_COPIED'] + ENV['_BUNDLER_WINDOWS_DLLS_COPIED'] = "1" end end |