Skip to content

Commit

Permalink
Update rubygems to appropiate versions
Browse files Browse the repository at this point in the history
to recognize the -linux-gnu gem platforms
  • Loading branch information
larskanis committed Mar 29, 2024
1 parent 23c2846 commit 21eba1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/env/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN yum install -y ruby git gcc make
RUN ruby --version
RUN gem env

RUN gem install rubygems-update:3.3.26 --no-doc && \
update_rubygems
# centos-8 comes with Ruby 2.5, and this is the last version of bundler that supports it
RUN gem install bundler -v2.2.28

Expand Down
2 changes: 2 additions & 0 deletions spec/env/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN apt-get update -qq && \

RUN ruby --version
RUN gem env
RUN gem install rubygems-update --no-doc && \
update_rubygems
RUN gem inst bundler

WORKDIR /build
Expand Down

0 comments on commit 21eba1f

Please sign in to comment.