trilogy-libraries / activerecord-trilogy-adapter

Active Record adapter for the Trilogy database client for Rails v6.0 - v7.0.
https://github.com/trilogy-libraries/trilogy
MIT License
167 stars 16 forks source link

Avoid "comparison of Gem::Version..." error in Ruby < 3.1 #30

Closed lorint closed 1 year ago

lorint commented 1 year ago

When using Ruby < 3.1 with edge Rails this error appears:

/activerecord/lib/active_record/coders/yaml_column.rb:14:in `>=': comparison of Gem::Version with String failed (ArgumentError)

This updates ci.yml to use Ruby 3.1.x.

If edge Rails is updated with Rails #47480 then this PR does not need to be merged into ARTA.

lorint commented 1 year ago

Rails #47480 was merged -- we no longer need this patch.