From d992c23c1d87d430a2e88b98709bc5fa85e710ed Mon Sep 17 00:00:00 2001 From: ChrisBAshton Date: Mon, 21 Sep 2020 15:14:06 +0100 Subject: [PATCH] Force FFI version 1.12 to compile on OSX See https://github.com/ffi/ffi/issues/791 --- Gemfile | 4 ++++ Gemfile.lock | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 530346b..2a25432 100644 --- a/Gemfile +++ b/Gemfile @@ -10,3 +10,7 @@ gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby] # Include the tech docs gem gem 'govuk_tech_docs' + +# Include specific version of FFI until following issue is fixed: +# https://github.com/ffi/ffi/issues/791 +gem "ffi", "1.12" diff --git a/Gemfile.lock b/Gemfile.lock index 73c3a6e..6c0bd11 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -43,7 +43,7 @@ GEM execjs (2.7.0) fast_blank (1.0.0) fastimage (2.2.0) - ffi (1.13.1) + ffi (1.12.0) govuk_tech_docs (2.0.13) activesupport chronic (~> 0.10.2) @@ -174,6 +174,7 @@ PLATFORMS ruby DEPENDENCIES + ffi (= 1.12) govuk_tech_docs tzinfo-data wdm (~> 0.1.0)