Missing depedency pkg ruby-webrick for foreman(-proxy) in ubuntu 22.04

Problem: The foreman-proxy service running into an error upgrading from Ubuntu 20.04 with working Foreman v3.11.1 to Ubuntu 22.04, error is thrown:
internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require’: cannot load such file – webrick/https (LoadError)

Expected outcome: Running service without error

Foreman and Proxy versions: v3.11.1

Foreman and Proxy plugin versions: 3.11.1

Distribution and version: Ubuntu 22.04.4 LTS

Other relevant data:
I think the pkg ‘ruby-webrick’ needs to be added to packaging for jammy .dep-pkgs as done for rhel-8: Add rubygem-webrick package by ekohl · Pull Request #8580 · theforeman/foreman-packaging · GitHub

Installed version: https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/ruby-webrick_1.7.0-3_all.deb.html (uptodate-version)
installation command: apt install ruby-webrick (bundle add webrick in foreman-proxy user context hasn’t worked)

Should be added as dependency so the required package is installed automatically when the do-release-upgrade process is running.

Not defined in either one of the files:

OR:

Not sure if only the foreman-proxy pkg is needing this gem as dependency or the foreman pkg itself.

Can you look into that?
Was not sure if this is the correct way to file a bug report.

Thanks all!

Best regards,
Till

That looks like an oversight. Could you submit a PR?

PR for reference: Add ruby-webrick as deb-pkg dependency for jammy/foreman-proxy by theQuestionmark · Pull Request #11109 · theforeman/foreman-packaging · GitHub