Skip to content

Commit c44bbdf

Browse files
authored
Merge pull request #3383 from tenderlove/gate-ffi
Only use ffi on Ruby >= 3.0.0
2 parents 2e6baf9 + c5540dc commit c44bbdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ gem "rake-compiler"
1010
gem "test-unit"
1111

1212
platforms :mri, :mswin, :mingw, :x64_mingw do
13-
gem "ffi"
13+
if RUBY_VERSION >= '3.0.0'
14+
gem "ffi"
15+
end
1416
gem "parser"
1517
gem "ruby_memcheck"
1618
gem "ruby_parser"

0 commit comments

Comments
 (0)