From 6046ee4a725018794c35dbebb87cbe80dc0b914f Mon Sep 17 00:00:00 2001 From: yuenmichelle1 Date: Thu, 11 Jan 2024 22:03:27 -0600 Subject: [PATCH] update dockerfile to remove gem update --system. Was needed when bumping from Ruby 2.6 -> 2.7 and will be needed when bumping 2.7 ->3 but not necessary at this point (#1585) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c09d8071..16746b89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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