Skip to content

Do not set PATH on in rvm function#30

Open
JHK wants to merge 1 commit into
lunks:masterfrom
JHK:patch-1
Open

Do not set PATH on in rvm function#30
JHK wants to merge 1 commit into
lunks:masterfrom
JHK:patch-1

Conversation

@JHK

@JHK JHK commented Sep 25, 2018

Copy link
Copy Markdown

As $GEM_HOME is set afterwards this will cause /bin to be included in the PATH. This caused for me messing up commands I had in /usr/local/bin to be preferred over /bin:

~ which bash
/usr/local/bin/bash
➜  ~ rvm default
➜  ~ which bash
/bin/bash

This comes from https://rvm.io/integration/fish

As $GEM_HOME is set afterwards this will cause `/bin` to be included in the PATH.
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