GitLab upgrade on Ubuntu Bionic (18.04 LTS) - Ruby is bottleneck?

We need to upgrade our GitLab runing on Ubuntu Bionic (18.04 LTS - we use only LTS versions).
This Upgrading GitLab | GitLab says that we need at least Ruby 2.7.2 which is not available even for 20.04 LTS (Focal): Ubuntu – Package Search Results -- ruby
How did you overcome it ? Did you use PPAs to get newer version of Ruby ?

Are you using an omnibus version of gitlab, or are you building from source?

If omnibus package, then everything is enclosed in the package. Running:

dpkg -l | grep -i gitlab

if a result is returned then you are using the omnibus version and you just need to upgrade the appropriate package which has all the dependencies included (including ruby) as well as follow the upgrade path. If nothing, then you probably have a source install. I don’t compile my gitlab from source, so cannot help with that, but there are various ways of using ruby without PPA’s.

1 Like

We use omnibus version (deb).
If eveything is included in the gitlab package then … why is this: Upgrading GitLab | GitLab ?
I am confused now to be honest.

Because higher up in document it mentions omnibus and source so if you built from source then you have to make sure you meet the requirements.

1 Like

Makes sense - thanks @iwalker