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

Fix deployment vs path precedence #6703

Merged
merged 4 commits into from Jun 5, 2023

Conversation

deivid-rodriguez
Copy link
Member

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

The deployment setting sets path to vendor/bundle implicitly. However, when BUNDLE_PATH is also set, whatever set there should take precedence. That was not happening.

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

Implement correct precedence logic.

Fixes #6669.

Make sure the following tasks are checked

They are already tested above.
These should all be passing on Bundler 3.
The `deployment` setting sets `path` to `vendor/bundle` implicitly, but
that should only apply if `path` is not set explicitly, at any level.
@deivid-rodriguez deivid-rodriguez merged commit 2365016 into master Jun 5, 2023
92 checks passed
@deivid-rodriguez deivid-rodriguez deleted the more-deployment-precedence-fixes branch June 5, 2023 17:18
deivid-rodriguez added a commit that referenced this pull request Jun 8, 2023
Fix `deployment` vs `path` precedence

(cherry picked from commit 2365016)
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.

BUNDLE_APP_CONFIG is set and BUNDLE_PATH is set - shouldn't gems be installed into BUNDLE_PATH?
1 participant