Skip to content

Commit

Permalink
install compatible version of rubygem update and then update system (#…
Browse files Browse the repository at this point in the history
…4273)

* install compatible version of rubygem update and then update system

* add comment on why installing certain version of rubygems-update

* remove gem update step. will add back when needed possibly on bump from 2.7 -> 3.0
  • Loading branch information
yuenmichelle1 authored Jan 4, 2024
1 parent 4768229 commit 5fd77a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +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`
RUN gem update --system
RUN bundle install --without development test

ADD ./ /rails_app
Expand Down
1 change: 0 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +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`
RUN gem update --system
RUN bundle install

ADD ./ /rails_app
Expand Down

0 comments on commit 5fd77a4

Please sign in to comment.