Skip to content

Commit

Permalink
(Fix?) Upgrade Rubygems version
Browse files Browse the repository at this point in the history
Attempting to fix a bundler error on CI in Docker by updating Rubygems version.

Error is:

```
0.405 bundler: failed to load command: rake (/usr/local/bundle/bin/rake)
```
  • Loading branch information
lozette committed Dec 21, 2023
1 parent 70b6b2b commit 4fbec67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ENV BUNDLE_GEM_GROUPS ${RAILS_ENV}
COPY Gemfile ${DEPS_HOME}/Gemfile
COPY Gemfile.lock ${DEPS_HOME}/Gemfile.lock

RUN gem update --system 3.3.5
RUN gem update --system 3.5.1
RUN gem install bundler -v 2.3.5
RUN bundle config set frozen "true"
RUN bundle config set no-cache "true"
Expand Down

0 comments on commit 4fbec67

Please sign in to comment.