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

Remove rvm_gems_path from PATH as part of __rvm_remove_rvm_from_path #4712

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

DeegC
Copy link
Contributor

@DeegC DeegC commented Jun 12, 2019

Fixes # .

I'm running Ubuntu with RVM installed using the PPA. The rvm_path is set to /usr/share/rvm however my gems (by default) are installed to ~/.rvm/gems. As a result, when I cd to different directories my PATH gets longer and longer because the gems paths aren't removed.

Changes proposed in this pull request:

  • When removing directories from PATH in __rvm_remove_rvm_from_path also remove directories with rvm_gems_path as a prefix.

Make sure that your pull request includes entry in the CHANGELOG.

@pkuczynski pkuczynski merged commit 913b407 into rvm:master Jun 14, 2019
@pkuczynski pkuczynski added the bug label Jun 14, 2019
@pkuczynski pkuczynski added this to the rvm-1.29.9 milestone Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants