From ecd99207e914b58c4a692b3e9af64cc0a8b508b6 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Thu, 9 Mar 2023 11:29:45 +0530 Subject: [PATCH] Install fog-core 2.1.0 using gem install in postinst (for fog-google) --- debian/gitlab.postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/gitlab.postinst b/debian/gitlab.postinst index 18a9f48722..82c40c7a9f 100755 --- a/debian/gitlab.postinst +++ b/debian/gitlab.postinst @@ -93,6 +93,10 @@ if [ "$(gem which gitlab-labkit)" = "/var/lib/gitlab/.gem/gems/gitlab-labkit-0.2 runuser -u ${gitlab_user} -- sh -c "gem uninstall -v '~> 0.29.0' gitlab-labkit" fi +# Gitlab needs this specific version due to +# https://github.com/fog/fog-google/issues/421 +# runuser -u ${gitlab_user} -- sh -c "gem install -v 2.1.0 fog-core" + ####################################################################### # update Gemfile.lock and yarn.lock, always #######################################################################