Skip to content

Update ruby version in Dockerfile to 3.2 #1472#1473

Closed
okatatuki wants to merge 1 commit into
danger:masterfrom
okatatuki:feature/fix_bundler_version_in_dockerfile
Closed

Update ruby version in Dockerfile to 3.2 #1472#1473
okatatuki wants to merge 1 commit into
danger:masterfrom
okatatuki:feature/fix_bundler_version_in_dockerfile

Conversation

@okatatuki

Copy link
Copy Markdown
Contributor

docker build fails with the message "bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225." it seems to be caused by bundler@2.5.1 requires ruby@3.0.0

fix #1472

Or should I lower the bundler version?

`docker build` fails with the message "bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225."
it seems to be caused by bundler@2.5.1 requires ruby@3.0.0
@MajorFlamingo

Copy link
Copy Markdown

This MR will also fix the failing execution og Danger in ruby 2.x environment due to the transitive dependency on faraday. Faraday release v2.9.0 deprecated the support of ruby 2.x.

Comment thread .rubocop.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.2

@manicmaniac manicmaniac Feb 3, 2024

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changing this line causes many lint errors. I think it should be remained as it is for now.

@manicmaniac

Copy link
Copy Markdown
Member

@okatatuki Sorry for the delay in my review.
Could you please update this pull request? Or I will take over it because this one blocks CI and I'd like to fix it before the next release.

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.

danger is not working with bundler@2.5.1

3 participants