Skip to content

Commit

Permalink
fix: update rubygems to address the build error
Browse files Browse the repository at this point in the history
Error on "ensures the dev environment image builds" job:
 #11 1.812 ffi-1.17.0-x86_64-linux-musl requires rubygems version >= 3.3.22, which is
 #11 1.812 incompatible with the current version, 3.1.6
 #11 ERROR: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5

The rubygems version 3.4.22 is the last to support ruby 2.7.X
  • Loading branch information
knarewski committed Sep 12, 2024
1 parent 0af1f80 commit ecf2121
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ RUN apt-get update && apt-get install -yyq --no-install-recommends \
&& apt-get clean \
&& rm -rf /va/lib/apt/lists/*

RUN gem update --system 3.4.22

COPY Gemfile* /app/
WORKDIR /app/
RUN bundle config --local gemfile Gemfile.docker
Expand Down

0 comments on commit ecf2121

Please sign in to comment.