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

Add option to disable binary symlink #94

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

nathantypanski
Copy link
Contributor

Symlinks are already disabled for user installs. For cases where
multiple system-wide Ruby versions are provided by RVM, add an option to
disable symlinking of binaries to the system path.

Default rvm1_symlink to true to maintain existing behavior parity.

@lpaulmp
Copy link
Member

lpaulmp commented Nov 30, 2016

Can rebase this PR?

@pkuczynski
Copy link
Member

@nathantypanski could you please solve conflicts? Otherwise, we will have to close this PR :(

@pkuczynski pkuczynski requested a review from a team July 21, 2020 10:10
@nathantypanski
Copy link
Contributor Author

@pkuczynski sure, looking into it now.

Symlinks are already disabled for user installs. For cases where
multiple system-wide Ruby versions are provided by RVM, add an option to
disable symlinking of binaries to the system path.

Default `rvm1_symlink` to `true` to maintain existing behavior parity.
@nathantypanski nathantypanski force-pushed the feature/disable-symlink branch from 647a93f to 327530e Compare July 27, 2020 22:28
@nathantypanski
Copy link
Contributor Author

@pkuczynski updated by rebasing against master. Looks like builds are failing on the latest master - but that seems unrelated?

@pkuczynski
Copy link
Member

@thbar what you think?

@thbar
Copy link
Contributor

thbar commented Aug 1, 2020

@pkuczynski I have no familiarity with this option at all (I also do not use root installation). I will have a closer look next week, but if someone is more familiar with that, another pair of eyes is welcome!

@pkuczynski
Copy link
Member

@sfgeorge @danochoa @thbar what do you think about this change?

Copy link
Contributor

@sfgeorge sfgeorge left a comment

Choose a reason for hiding this comment

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

I'm in favor of this. 👍 Adding tests would be ideal, but we can get to that.

@thbar
Copy link
Contributor

thbar commented Mar 26, 2022

This sounds reasonable. Reading the code I wondered a bit of the precedence of operators (not, and, in), but that's pretty much it!

@pkuczynski pkuczynski changed the title add option to disable binary symlink Add option to disable binary symlink Mar 26, 2022
@pkuczynski pkuczynski merged commit cab86fd into rvm:master Mar 26, 2022
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.

5 participants