diff --git a/Gemfile b/Gemfile index be9dec7d5..4bc5f0daf 100644 --- a/Gemfile +++ b/Gemfile @@ -30,8 +30,10 @@ end # allow gems to be installed on older rubies and/or windows if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/) 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' + # ffi dropped Ruby 1.8 support in 1.9.19 + # ffi dropped Ruby 1.9 support in 1.11.0 + gem 'ffi', '< 1.9.19' else gem 'ffi', '> 1.9.24' # prevent Github security vulnerability warning end