From 29a5dbe55e7ff5a104457f371cf7cc58795f0fc6 Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Tue, 25 Jun 2024 14:54:17 -0600 Subject: [PATCH] spec: fix spec broken by newer FFI gem having more platforms --- spec/bundler/multilock_spec.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/spec/bundler/multilock_spec.rb b/spec/bundler/multilock_spec.rb index be2c413..6ce7a8b 100644 --- a/spec/bundler/multilock_spec.rb +++ b/spec/bundler/multilock_spec.rb @@ -827,7 +827,12 @@ end RUBY - with_gemfile(orig_gemfile) do + with_gemfile("") do + # install once with nothing so that it doesn't try to lock every single + # platform available for FFI + invoke_bundler("install") + + write_gemfile(orig_gemfile) invoke_bundler("install") write_gemfile(<<~RUBY)