Ruby version manager broke my $ PATH

I installed RVM on OSX, and now my variable has $PATHcompletely changed. I tried changing it in .bashrcand .profile, but it does not seem to have any effect. Any ideas what I'm doing wrong?

+5
source share
2 answers

It looks like you have misuse in your RC files, read here: https://rvm.io/support/faq/#shell_login

basically .profileshould not be used as a bash login RC script, it is preferable to .bash_logineither .bash_profile.

To fix your profile files that you need to run:

rvm get stable --auto-dotfiles

and restart your computer - yes restart your computer, it's just a minute on mac

+2

, rvm /opt/local/bin (macport, "rsync vault manager" ). rvm /opt/local/bin .

+2

All Articles