one
one copied to clipboard
Add fixed gem dependencies to opennebula gem shipped with the releases
Description
Every OpenNebula release also ships the opennebula
and opennebula-cli
gems to rubygems. The gem has its gem dependencies listed, but not fixed to any version. When installing said gem, it could be possible to run into a situation where the ruby version is too old, but since the gem version is not fixed, it will require a recent ruby version
To Reproduce
Install the opennebula
gem on Ubuntu 2004
[2024-01-31T01:31:23.247Z] ERROR: Error installing opennebula-6.99.80.pre.gem:
[2024-01-31T01:31:23.247Z] nokogiri requires Ruby version >= 3.0, < 3.4.dev. The current ruby version is 2.7.0.0.
[2024-01-31T01:31:23.247Z] ERROR: Error installing opennebula-cli-6.99.80.pre.gem:
[2024-01-31T01:31:23.247Z] nokogiri requires Ruby version >= 3.0, < 3.4.dev. The current ruby version is 2.7.0.0.
Expected behavior
Both LTS platform notes and STS platform notes should be complied by the gem. Ubuntu 2004 is still supported as a valid OS to install any opennebula component and on 6.4 Centos7 is as well, which has en even older ruby version.
Additional context
This is an overlook since the gem is not required to run the frontend, even though, the gem source is shipped within the opennebula
. The package opennebula-rubygems
contains the correctly packaged gem dependencies.
Progress Status
- [ ] Code committed
- [ ] Testing - QA
- [ ] Documentation (Release notes - resolved issues, compatibility, known issues)