Skip to content

Commit

Permalink
Lower the JRuby version guard to 9.2.20
Browse files Browse the repository at this point in the history
FFI improvments will probably backported to 9.2 branch.
See jruby/jruby#6747 (comment)
  • Loading branch information
larskanis committed Jul 9, 2021
1 parent 1880a71 commit 0dbbe5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ffi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

require 'ffi/ffi'

elsif RUBY_ENGINE == 'jruby' && (RUBY_ENGINE_VERSION.split('.').map(&:to_i) <=> [9, 3]) >= 0
elsif RUBY_ENGINE == 'jruby' && (RUBY_ENGINE_VERSION.split('.').map(&:to_i) <=> [9, 2, 20]) >= 0
JRuby::Util.load_ext("org.jruby.ext.ffi.FFIService")
require 'ffi/ffi'

Expand Down

0 comments on commit 0dbbe5e

Please sign in to comment.