Skip to content

Commit

Permalink
Deal with new ffi Ruby version requirement (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
benoittgt authored and JonRowe committed May 19, 2019
1 parent 55f0b11 commit 5f3f68f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Expand Up @@ -24,6 +24,8 @@ if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|min
gem 'ffi', '< 1.10'
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.24' # prevent Github security vulnerability warning
end
Expand Down

0 comments on commit 5f3f68f

Please sign in to comment.