Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFESO-6721: release-13.5, update ruby to 3.0 #893

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

alchen1218
Copy link
Collaborator

@alchen1218 alchen1218 commented Mar 7, 2024

We need to update ruby version to 3.0 to resolve this error shown in our build:

13:46:28 #5 25.13 ERROR:  Error installing fpm:
13:46:28 #5 25.13 	The last version of dotenv (>= 0) to support your Ruby & RubyGems was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1` and then running the current command again
13:46:28 #5 25.13 	dotenv requires Ruby version >= 3.0. The current ruby version is 2.7.8.225.
13:46:28 #5 25.46 Successfully installed stud-0.0.23
13:46:28 #5 ERROR: process "/bin/sh -c gem install fpm" did not complete successfully: exit code: 1
13:46:28 ------
13:46:28  > [2/5] RUN gem install fpm:
13:46:28 #5 25.13 ERROR:  Error installing fpm:
13:46:28 #5 25.13 	The last version of dotenv (>= 0) to support your Ruby & RubyGems was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1` and then running the current command again
13:46:28 #5 25.13 	dotenv requires Ruby version >= 3.0. The current ruby version is 2.7.8.225.
13:46:28 #5 25.46 Successfully installed stud-0.0.23
13:46:28 ------
13:46:28 Dockerfile:5
13:46:28 --------------------
13:46:28    3 |     FROM ruby:2.7
13:46:28    4 |     
13:46:28    5 | >>> RUN gem install fpm
13:46:28    6 |     RUN gem install package_cloud
13:46:28    7 |     RUN apt-get update
13:46:28 --------------------
13:46:28 ERROR: failed to solve: process "/bin/sh -c gem install fpm" did not complete successfully: exit code: 1```

Copy link
Collaborator

@sbhakta-vmware sbhakta-vmware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@laullon laullon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@laullon laullon merged commit ecb9125 into release-13.x Mar 7, 2024
3 checks passed
@alchen1218 alchen1218 deleted the release-13.x-docker-update branch March 7, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants