From 98158321723bc5395b4cb0c787c9f58f367d8565 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Mon, 20 May 2019 11:48:54 +0100 Subject: [PATCH] [support] Merge pull request rspec/rspec-support#376 from rspec/ffi_ruby_1_9 Deal with new ffi Ruby version requirement --- This commit was imported from https://github.com/rspec/rspec-support/commit/4b4551313f59fd47204b15a2bd418e0f6bbe0a95. --- rspec-support/Gemfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rspec-support/Gemfile b/rspec-support/Gemfile index 6f906282e..c539c8167 100644 --- a/rspec-support/Gemfile +++ b/rspec-support/Gemfile @@ -24,6 +24,8 @@ if RUBY_VERSION < '2.0.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|min 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' + gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0 else gem 'ffi', '~> 1.9.25' end