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

Make the ruby_runtime() rule re-load if PATH changes. #22

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

haberman
Copy link
Member

@haberman haberman commented Jan 5, 2024

This will make rvm use commands take effect immediately, rather than requiring a blaze clean --expunge first.

This has an unfortunate side-effect of also forcing a re-download of hermetic Ruby versions when PATH changes. To fix this, we should make system_ruby() its own repository rule, so that hermetic Ruby versions are not affected by PATH.

This will make `rvm use` commands take effect immediately,
rather than requiring a `blaze clean --expunge` first.

This has an unfortunate side-effect of also forcing a
re-download of hermetic Ruby versions when PATH changes.
To fix this, we should make `system_ruby()` its own repository
rule, so that hermetic Ruby versions are not affected by PATH.
@haberman haberman merged commit 85ba963 into main Feb 12, 2024
4 checks passed
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.

2 participants