Skip to content

Commit 36ce639

Browse files
authored
Merge pull request #2565 from rspec/upgrade-ffi-for-5-1
Upgrade FFI now its safe to do so
2 parents fae1360 + 0672ddc commit 36ce639

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Gemfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ end
2020

2121
gem 'capybara'
2222

23-
# Until 1.13.2 is released due to Rubygems usage
24-
gem 'ffi', '~> 1.12.0'
23+
if RUBY_VERSION.to_f >= 2.3
24+
gem 'ffi', '~> 1.15.5'
25+
else
26+
gem 'ffi', '~> 1.12.0'
27+
end
2528

2629
custom_gemfile = File.expand_path('Gemfile-custom', __dir__)
2730
eval_gemfile custom_gemfile if File.exist?(custom_gemfile)

0 commit comments

Comments
 (0)