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

Exclude certain Bundler settings when composing bundle #3277

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Mar 7, 2025

Motivation

Closes #2440, closes #3196

Certain Bundler settings are better used only when the user is in control, like deciding when to package gems or if Bundler should automatically install binstubs for all gems.

This PR starts ignoring certain settings from the composed environment.

Implementation

Added a list of ignored settings that we reject before building the environment that we'll use to run bundle install/update.

Automated Tests

Added tests for both bundle bin and bundle package related settings.

Copy link
Member Author


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock added server This pull request should be included in the server gem's release notes bugfix This PR will fix an existing bug labels Mar 7, 2025 — with Graphite App
@vinistock vinistock self-assigned this Mar 7, 2025
@vinistock vinistock requested review from alexcrocha and andyw8 March 7, 2025 17:24
@vinistock vinistock marked this pull request as ready for review March 7, 2025 17:24
@vinistock vinistock requested a review from a team as a code owner March 7, 2025 17:24
Copy link

graphite-app bot commented Mar 7, 2025

Merge activity

### Motivation

Closes #2440, closes #3196

Certain Bundler settings are better used only when the user is in control, like deciding when to package gems or if Bundler should automatically install binstubs for all gems.

This PR starts ignoring certain settings from the composed environment.

### Implementation

Added a list of ignored settings that we reject before building the environment that we'll use to run bundle install/update.

### Automated Tests

Added tests for both bundle bin and bundle package related settings.
@graphite-app graphite-app bot force-pushed the 03-07-exclude_certain_bundler_settings_when_composing_bundle branch from fbc65c7 to 81b238c Compare March 7, 2025 17:57
@graphite-app graphite-app bot merged commit 81b238c into main Mar 7, 2025
45 checks passed
@graphite-app graphite-app bot deleted the 03-07-exclude_certain_bundler_settings_when_composing_bundle branch March 7, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra files added to vendor/cache during initialization Investigate disabling BUNDLE_BIN automatically
4 participants