You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is shown when attempting to execute the Build and push Docker image step of the workflow:
#11 [ 6/15] RUN gem install bundler
#11 14.04 ERROR: Error installing bundler:
#11 14.04 The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
#11 14.04 bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.6.219.
#11 ERROR: process "/bin/sh -c gem install bundler" did not complete successfully: exit code: 1
------
> [ 6/15] RUN gem install bundler:
14.04 ERROR: Error installing bundler:
14.04 The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
14.04 bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.6.219.
------
Dockerfile.production:36
--------------------
34 |
35 | WORKDIR $INSTALL_PATH
36 | >>> RUN gem install bundler
37 | COPY Gemfile* $INSTALL_PATH
38 |
--------------------
ERROR: failed to solve: process "/bin/sh -c gem install bundler" did not complete successfully: exit code: 1
Error: buildx call failed with: ERROR: failed to solve: process "/bin/sh -c gem install bundler" did not complete successfully: exit code: 1
The following warning is also outputted from a few GitHub Action workflows:
Your RubyGems version (3.1.6) has a bug that prevents required_ruby_version from working for Bundler. Any scripts that use gem install bundler will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running gem update --system 3.2.3
Example
https://github.com/portagenetwork/roadmap/actions/runs/7508020743/job/20442836823
The following error is shown when attempting to execute the
Build and push Docker image
step of the workflow:Using my own fork of the repo, I was able to replicate the error. I was also able to fix the workflow by applying the following commit to in
Dockerfile.production
:https://github.com/aaronskiba/roadmap/actions/runs/7508266562/job/20443403195
The text was updated successfully, but these errors were encountered: