From dbf72e5e9957c00631a295ade2a8882d4ceec12f Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Mon, 20 May 2019 10:31:35 +0200 Subject: [PATCH] Deal with new ffi Ruby version requirement (#1115) CI was failing for 1.9.2 and 1.9.3. This is due to https://github.com/ffi/ffi/pull/683 Related: - https://github.com/ffi/ffi/issues/699 --- Gemfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gemfile b/Gemfile index 63b0b60f1..bb56cd157 100644 --- a/Gemfile +++ b/Gemfile @@ -34,6 +34,8 @@ elsif RUBY_VERSION < '2' gem 'ffi', '< 1.10' # ffi dropped Ruby 1.8 support in 1.9.19 elsif RUBY_VERSION < '1.9' gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19 +elsif RUBY_VERSION < '2.0' + gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0 else gem 'ffi', '> 1.9.24' # prevent Github security vulnerability warning end