From c876d5e5a2a44e5b2aba55037224d55e07cc938f Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Thu, 22 Feb 2018 15:50:35 +0100 Subject: [PATCH] Lock ffi version to fix builds on Mac --- Gemfile | 3 +++ Gemfile.lock | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 56d0d936f..68f3b6576 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,9 @@ source 'https://rubygems.org' gem 'rails', '~> 5.2.0.rc1' +# Temporary lock ffi version. Read more: https://github.com/ffi/ffi/commit/0fef6d44d09018d03c24af7fa4f9fcd38f36b642 +gem 'ffi', '1.9.18' + # Use SCSS for stylesheets gem 'sass-rails' # Use Uglifier as compressor for JavaScript assets diff --git a/Gemfile.lock b/Gemfile.lock index cb3c0a052..f3ad4d067 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -202,7 +202,7 @@ GEM activesupport (>= 3.0.0) faraday (0.12.2) multipart-post (>= 1.2, < 3) - ffi (1.9.21) + ffi (1.9.18) fission (0.5.0) CFPropertyList (~> 2.2) fog (1.41.0) @@ -789,6 +789,7 @@ DEPENDENCIES dotenv-rails draper factory_bot + ffi (= 1.9.18) fog fog-openstack font-awesome-rails