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

Commit d68c94b

Browse files
authored
Merge pull request #376 from rspec/ffi_ruby_1_9
Deal with new ffi Ruby version requirement
2 parents 4579133 + 396be9d commit d68c94b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ 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+
elsif RUBY_VERSION < '2.0'
28+
gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0
2729
else
2830
gem 'ffi', '~> 1.9.25'
2931
end

0 commit comments

Comments
 (0)