CI against Ruby 3.0 and 3.1 (#523)
* Install gems for rbx platform only when running rbx or bundle install fails on ruby 3 because rubysl ~> 2.0 doesn't support ruby 3 This commit is based on this commit: https://github.com/kaminari/kaminari/commit/59dbc12. * CI against Ruby 3.0 again 3.0 without quoting is interpreted as 3, so change it to '3.0'. * CI against Ruby 3.1
Showing
... | ... | @@ -12,10 +12,12 @@ platforms :jruby do |
gem 'activerecord-jdbcsqlite3-adapter' | ||
end | ||
platforms :rbx do | ||
if RUBY_ENGINE == 'rbx' | ||
platforms :rbx do | ||
gem 'rubinius-developer_tools' | ||
gem 'rubysl', '~> 2.0' | ||
gem 'rubysl-test-unit' | ||
end | ||
end | ||
rails = ENV['RAILS'] || '~> 5.2.0' | ||
... | ... |
Please
register
or
sign in
to comment