Skip to content

Commit

Permalink
Pin ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Sep 12, 2019
1 parent a1f4646 commit e24e479
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ platforms :ruby do
gem 'github-markup', '0.7.2'
end

if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
gem 'ffi', '< 1.10'
elsif RUBY_VERSION < '2.0'
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
gem 'ffi', '< 1.11.0'
else
gem 'ffi', '~> 1.11.0'
end

gem 'simplecov', '~> 0.8'

gem 'contracts', '< 0.16' if RUBY_VERSION < '1.9.0'
Expand Down

0 comments on commit e24e479

Please sign in to comment.