From 27af78121e6cbd3ce4569c78c1686aaa19629148 Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Sat, 18 May 2019 12:05:46 +0200 Subject: [PATCH] Deal with new ffi Ruby version requirement 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 6f906282e..b7ba5fb19 100644 --- a/Gemfile +++ b/Gemfile @@ -22,8 +22,10 @@ end if RUBY_VERSION < '2.0.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/) gem 'ffi', '< 1.9.15' # allow ffi to be installed on older rubies on windows -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' + # ffi dropped Ruby 1.8 support in 1.9.19 + # ffi dropped Ruby 1.9 support in 1.11.0 + gem 'ffi', '< 1.9.19' else gem 'ffi', '~> 1.9.25' end