Skip to content

Conversation

@jeremyevans
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

@hsbt requested increasing the precedence of BUNDLE_LOCKFILE over lockfile in Gemfile.

What is your fix for the problem, implemented in this PR?

Implement the desired precedence.

Fixes #9117

Make sure the following tasks are checked

…le method in Gemfile

It would be simpler to do `options[:lockfile] ||= ENV["BUNDLE_LOCKFILE"]`,
but that doesn't work as `options` is frozen.

Fixes ruby#9117
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Member

@hsbt hsbt left a comment

Choose a reason for hiding this comment

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

👍 Thanks

@hsbt hsbt merged commit 14ebde1 into ruby:master Dec 2, 2025
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use BUNDLE_LOCKFILE rather than lockfile section?

3 participants