Skip to content

Commit

Permalink
Fix error with rubygems-update
Browse files Browse the repository at this point in the history
```
ERROR:  Error installing rubygems-update:
	There are no versions of rubygems-update (= 3.4.3) compatible with your Ruby & RubyGems
	rubygems-update requires Ruby version >= 2.6.0. The current ruby version is 2.5.9.229.
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ dir_chdir - /usr/local/bundle/gems/rubygems-update-3.0.3
```

Same issue as rubygems/rubygems#2534,
following the suggested workaround in the comments there to install an
older version of rubygems-update
  • Loading branch information
albertchae committed Jan 22, 2023
1 parent 6d40c61 commit 02fa249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apk --no-cache add --update \
libc6-compat \
imagemagick \
ffmpeg && \
gem update --system --no-document && \
gem install rubygems-update -v '<3' --no-document && update_rubygems && \
gem install bundler --no-document --force

WORKDIR /api
Expand Down

0 comments on commit 02fa249

Please sign in to comment.