From 28dd175b3456b2ecfe5527644b2f0bf6051c83df Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Wed, 10 May 2023 01:59:56 +0530 Subject: [PATCH] Install older google-apis-core from rubygems.org --- debian/gitlab.postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/gitlab.postinst b/debian/gitlab.postinst index 4aad74ac91..867a465e28 100755 --- a/debian/gitlab.postinst +++ b/debian/gitlab.postinst @@ -80,6 +80,8 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.2.2 "^ipaddr$" >/dev/n runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 2.3.2 "^deckar01-task_list$" >/dev/null; then gem install -v 2.3.2 deckar01-task_list; fi" # We need this version to use newer googleauth runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.53.0 "^google-api-client$" >/dev/null; then gem install -v 0.53.0 google-api-client; fi" +# We have a newer incompatible version in the archive +runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.10.0 "^google-apis-core$" >/dev/null; then gem install -v 0.10.0 google-apis-core; fi" # Uninstall rack 3.x runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~>3.0' "^rack$" >/dev/null; then gem uninstall -v '~>3.0' rack; fi"