From 5a950126e62f07eeb54549b0edf198278101872f Mon Sep 17 00:00:00 2001 From: Sara Jackson Date: Thu, 12 Sep 2024 09:52:28 -0400 Subject: [PATCH] Lock gem ffi to < 1.17.0 https://github.com/ffi/ffi/issues/1103 --- Gemfile | 1 + Gemfile.lock | 4 ++-- gemfiles/rails_6.1.gemfile | 1 + gemfiles/rails_7.0.gemfile | 1 + gemfiles/rails_7.1.gemfile | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 24bac41a..def5609f 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,7 @@ gem "capybara" gem "database_cleaner" gem "erb_lint", require: false gem "factory_bot_rails" +gem "ffi", "< 1.17.0" gem "nokogiri" gem "pry", require: false gem "rails-controller-testing" diff --git a/Gemfile.lock b/Gemfile.lock index 64456fd6..22e27b12 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -120,8 +120,7 @@ GEM factory_bot_rails (6.4.3) factory_bot (~> 6.4) railties (>= 5.0.0) - ffi (1.17.0-x86_64-darwin) - ffi (1.17.0-x86_64-linux-gnu) + ffi (1.16.3) ffi-compiler (1.3.2) ffi (>= 1.15.5) rake @@ -284,6 +283,7 @@ DEPENDENCIES database_cleaner erb_lint factory_bot_rails + ffi (< 1.17.0) nokogiri pry rails-controller-testing diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index 10842507..b74e40f8 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -9,6 +9,7 @@ gem "capybara" gem "database_cleaner" gem "erb_lint", require: false gem "factory_bot_rails" +gem "ffi", "< 1.17.0" gem "nokogiri" gem "pry", require: false gem "rails-controller-testing" diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile index 52d1bec9..47ddc23b 100644 --- a/gemfiles/rails_7.0.gemfile +++ b/gemfiles/rails_7.0.gemfile @@ -9,6 +9,7 @@ gem "capybara" gem "database_cleaner" gem "erb_lint", require: false gem "factory_bot_rails" +gem "ffi", "< 1.17.0" gem "nokogiri" gem "pry", require: false gem "rails-controller-testing" diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile index 3e46dba1..37b4afbf 100644 --- a/gemfiles/rails_7.1.gemfile +++ b/gemfiles/rails_7.1.gemfile @@ -9,6 +9,7 @@ gem "capybara" gem "database_cleaner" gem "erb_lint", require: false gem "factory_bot_rails" +gem "ffi", "< 1.17.0" gem "nokogiri" gem "pry", require: false gem "rails-controller-testing"