Not able to upgrade ruby to 2.7,4 on Gitlab

I have upgraded ruby to 2.7.4 on my Gitlab server according to the steps shown in version-specific upgrade steps for ruby but it’s not been shown in the Admin Area it’s still showing the older version only.


which installation method for GitLab are you using? It sounds like you are using a source installation when you want to upgrade Ruby. Can you share more details about the current setup, and a screenshot from the admin area? Also, please share the steps document are you following.


Yes Im using Omnibus installation. Correct, using source installation. I have attached the screenshot of the admin area and the steps used to upgrade Ruby. I’m not able to get all the gems after upgrading to 2.7.4. Please Help. Can you tell me from where does the admin are pick up its ruby version. And where should I configure the ruby version to be used by the Gitlab on the VM. Thanks. I have used the following steps to Upgrade Ruby.

mkdir /tmp/ruby && cd /tmp/ruby
curl --remote-name --progress-bar ""
echo '3043099089608859fc8cce7f9fdccaa1f53a462457e3838ec3b25a7d609fbc5b ruby-2.7.4.tar.gz' | sha256sum -c - && tar xzf ruby-2.7.4.tar.gz
cd ruby-2.7.4

./configure --disable-install-rdoc --enable-shared
sudo make install

I think you are using Omnibus with the packages, and not a source installation. For Omnibus packages you do not need to take care of Ruby upgrades, this comes pre-packaged in the AIO package. Your installation path forward is to upgrade the packages to 14.3.x and then 14.4, 14.5.