Skip to content

Commit

Permalink
limit ffi version
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Aug 22, 2024
1 parent b096040 commit 9dab09e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/multiverse/suites/rdkafka/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ VERSIONS = [
def gem_list(sidekiq_version = nil)
<<-RB
gem 'rdkafka'#{sidekiq_version}
#{ffi}
RB
end

def ffi
"gem 'ffi', '< 1.17.0'" if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7')
end

create_gemfiles(VERSIONS)

0 comments on commit 9dab09e

Please sign in to comment.