From a6d986015b7bc14c39272a635166dbe17d05d8f3 Mon Sep 17 00:00:00 2001 From: der Date: Wed, 17 Jan 2024 09:43:22 +0000 Subject: [PATCH] Pin rubygems updater version gem update runs rubygems-update under the hood. Current version of rubygems-update (>=3.5.0) require ruby 3.0 or better. Last version of rubygems-update compatible with Ruby used here was 3.4.22 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ef82b92f..562c9ed9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,8 @@ RUN apk add --update \ tzdata \ yarn \ && rm -rf /var/cache/apk/* \ - && gem update --system \ + && gem install rubygems-update -v 3.4.22 \ + && update_rubygems \ && gem install bundler:$BUNDLER_VERSION \ && bundle config --global frozen 1