diff --git a/.ci.gemfile b/.ci.gemfile index 02ca1f6..b84a50c 100644 --- a/.ci.gemfile +++ b/.ci.gemfile @@ -32,9 +32,13 @@ else gem 'json' end -platforms :ruby do +if RUBY_VERSION < '2.4' && RUBY_ENGINE == 'jruby' + gem 'sequel', '<5.72' +else gem 'sequel' +end +platforms :ruby do if RUBY_VERSION < '1.9' gem 'sqlite3', '< 1.4' else @@ -52,12 +56,6 @@ platforms :jruby do if RUBY_VERSION < '2.5' gem 'racc', '< 1.6' end - - if RUBY_VERSION < '2.4' - gem 'sequel', '<5.72' - else - gem 'sequel' - end end if RUBY_VERSION < '2.2'