Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit cbd22df

Browse files
committed
Deal with new ffi Ruby version requirement
CI was failing for 1.9.2 and 1.9.3. This is due to ffi/ffi#683 Related: - ffi/ffi#699
1 parent 4579133 commit cbd22df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ if RUBY_VERSION < '2.0.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|min
2424
gem 'ffi', '< 1.9.15' # allow ffi to be installed on older rubies on windows
2525
elsif RUBY_VERSION < '1.9'
2626
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
27-
else
28-
gem 'ffi', '~> 1.9.25'
27+
elsif RUBY_VERSION < '2.0'
28+
gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0
2929
end
3030

31+
3132
# No need to run rubocop on earlier versions
3233
if RUBY_VERSION >= '2.4' && RUBY_ENGINE == 'ruby'
3334
gem "rubocop", "~> 0.52.1"

0 commit comments

Comments
 (0)