Skip to content

Commit

Permalink
update dockerfile to remove gem update --system. Was needed when bump…
Browse files Browse the repository at this point in the history
…ing from Ruby 2.6 -> 2.7 and will be needed when bumping 2.7 ->3 but not necessary at this point (#1585)
  • Loading branch information
yuenmichelle1 authored Jan 12, 2024
1 parent 040cf51 commit 6046ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ ENV RAILS_ENV=$RAILS_ENV

RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1` && \
if echo "development test" | grep -w "$RAILS_ENV"; then \
gem update --system && bundle install; \
else gem update --system && bundle install --without development test; fi
bundle install; \
else bundle install --without development test; fi

ADD ./ /app

Expand Down

0 comments on commit 6046ee4

Please sign in to comment.