Skip to content

Commit

Permalink
Pin rubygems updater version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
der committed Jan 17, 2024
1 parent a4a4ce0 commit a6d9860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a6d9860

Please sign in to comment.