Skip to content

Commit

Permalink
remove gem update step. will add back when needed possibly on bump fr…
Browse files Browse the repository at this point in the history
…om 2.7 -> 3.0
  • Loading branch information
yuenmichelle1 committed Jan 4, 2024
1 parent 9c85eeb commit b5ec6b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ ADD ./Gemfile /rails_app/
ADD ./Gemfile.lock /rails_app/

RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1`
# Newest versions of rubygems-update is not compatible with Ruby2.7 (Only compatible with Ruby 3+)
RUN gem i "rubygems-update:~>3.4.22" --no-document && update_rubygems
RUN bundle install --without development test

ADD ./ /rails_app
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ ADD ./Gemfile /rails_app/
ADD ./Gemfile.lock /rails_app/

RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1`
# Newest versions of rubygems-update is not compatible with Ruby2.7 (Only compatible with Ruby 3+)
RUN gem i "rubygems-update:~>3.4.22" --no-document && update_rubygems
RUN bundle install

ADD ./ /rails_app
Expand Down

0 comments on commit b5ec6b1

Please sign in to comment.