summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-18 11:56:59 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-22 18:45:25 +0100
commit810cfbbbbc5b575e4e6a60225471369eb2e8a2d0 (patch)
tree9aead9ce841659189afb4dfcfad010c48c198f81
parent3809354c32592776a862677e71ee10baa59d2c36 (diff)
downloadbundler-810cfbbbbc5b575e4e6a60225471369eb2e8a2d0.tar.gz
Reuse installed gems with windows CI
I mounted the local copy of bundler to a Windows VM. I would like system gems to be reused between my Linux and Windows builds, but they are currently not reused because the manifest is written differently from both CIs, and when changing platform, it believes that it has changed when it has not.
-rw-r--r--spec/support/rubygems_ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb
index 1d41807cc8..74ac7f50c5 100644
--- a/spec/support/rubygems_ext.rb
+++ b/spec/support/rubygems_ext.rb
@@ -65,7 +65,7 @@ module Spec
FileUtils.mkdir_p(Path.base_system_gems)
puts "installing gems for the tests to use..."
install_gems(DEPS)
- manifest_path.open("w") {|f| f << manifest.join }
+ manifest_path.open("wb") {|f| f << manifest.join }
end
FileUtils.mkdir_p(Path.home)