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)