samvera / hydra-editor

A basic editor for samvera objects.
Other
10 stars 13 forks source link

Upgrading Ruby support for releases 3.0.3, 2.7.5, and 2.6.9 #205

Closed jrgriffiniii closed 1 year ago

jrgriffiniii commented 2 years ago

Resolves #200

jrgriffiniii commented 2 years ago

Ruby 3.0.3 is failing with dependency errors, such as the following:

Bundler could not find compatible versions for gem "thor":
  In Gemfile:
    thor (~> 0.20)

    rails (= 5.2.3) was resolved to 5.2.3, which depends on
      railties (= 5.2.3) was resolved to 5.2.3, which depends on
        thor (< 2.0, >= 0.19.0)
jrgriffiniii commented 2 years ago

Even for Ruby 2.6, there are additional errors:

/usr/local/bundle/gems/psych-4.0.3/lib/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias': Cannot load database configuration: (Psych::BadAlias)
Unknown alias: default
    from /usr/local/bundle/gems/psych-4.0.3/lib/psych/visitors/visitor.rb:30:in `visit'
jrgriffiniii commented 2 years ago

Issue 42528 for https://github.com/rails/rails may be related to this.

jrgriffiniii commented 2 years ago

https://github.com/samvera/hydra-editor/pull/205/commits/fe720e7ae082696ed72e258244a7151c66a26874 did manage to resolve this for Ruby 2.6.9.

jrgriffiniii commented 2 years ago

Ruby 3.0.3 support may require an update for support from within active_fedora:

  hydra-editor was resolved to 6.0.0, which depends on
    active-fedora (>= 9.0.0) was resolved to 13.0.0, which depends on
      ruby (~> 2.0)
jrgriffiniii commented 2 years ago

Returning to this, this also seems to be blocked by support within hydra-head for Ruby 3.0 releases.

cjcolvar commented 1 year ago

Replaced by #216