Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit c4db822

Browse files
committed
Jruby? You ok?
1 parent 23e4efb commit c4db822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ elsif RUBY_VERSION < '1.9'
4646
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
4747
elsif RUBY_VERSION < '2.0'
4848
gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0
49-
elsif RUBY_VERSION < '2.3.0'
49+
elsif RUBY_VERSION < '2.3.0' || defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java'
5050
gem 'ffi', '~> 1.12.0'
5151
else
5252
gem 'ffi', '> 1.12' # prevent Github security vulnerability warning

0 commit comments

Comments
 (0)