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

Commit 27af781

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 27af781

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ end
2222

2323
if RUBY_VERSION < '2.0.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
2424
gem 'ffi', '< 1.9.15' # allow ffi to be installed on older rubies on windows
25-
elsif RUBY_VERSION < '1.9'
26-
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
25+
elsif RUBY_VERSION < '2.0'
26+
# ffi dropped Ruby 1.8 support in 1.9.19
27+
# ffi dropped Ruby 1.9 support in 1.11.0
28+
gem 'ffi', '< 1.9.19'
2729
else
2830
gem 'ffi', '~> 1.9.25'
2931
end

0 commit comments

Comments
 (0)