From 0672ddc217b749fed72db03c0f697149d6f17fc5 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Tue, 25 Jan 2022 07:59:19 +0000 Subject: [PATCH] Upgrade FFI now its safe to do so --- Gemfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 26b7be09ba..4ed27f8670 100644 --- a/Gemfile +++ b/Gemfile @@ -20,8 +20,11 @@ end gem 'capybara' -# Until 1.13.2 is released due to Rubygems usage -gem 'ffi', '~> 1.12.0' +if RUBY_VERSION.to_f >= 2.3 + gem 'ffi', '~> 1.15.5' +else + gem 'ffi', '~> 1.12.0' +end custom_gemfile = File.expand_path('Gemfile-custom', __dir__) eval_gemfile custom_gemfile if File.exist?(custom_gemfile)