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

Set BUNDLE_BIN_PATH during exec #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Set BUNDLE_BIN_PATH during exec #127

wants to merge 1 commit into from

Conversation

matthewd
Copy link
Member

@matthewd matthewd commented Jul 7, 2022

This is a PoLS trade-off: our command is obviously less featureful than 'bundle', but if you're running inside a Gel context, I think you still have a better chance of success from 'gel' than from 'bundle'.

I've generally tried to avoid touching explicitly bundle-y env vars, but this seems like a fair exception, and should be particularly useful for applications that wish to work with both systems: switching from system("bundle") to system(ENV.fetch("BUNDLE_BIN_PATH", "bundle")) is a small upgrade even in a Bundler context, while also adding Gel support without forcing widespread "if gel else bundler" conditions.

Fixes #124

Our command is obviously less featureful than 'bundle', but if you're
running inside a Gel context, I think you still have a better chance of
success from 'gel' than from 'bundle'.
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.

1 participant