I installed RVM on OSX and now my $PATH variable is totally changed. I tried to change it in .bashrc and .profile but it doesn't seem to have any effect. Any ideas what I'm doing wrong?
It looks like you have some misuse in your RC files, have a read here: https://rvm.io/support/faq/#shell_login
basically .profile should not be used as bash login RC script, there is .bash_login or .bash_profile which are better choice for it.
to fix your profile files you need to run:
rvm get stable --auto-dotfiles
and restart computer - yes restart the machine, it's only a minute on mac
I ran into this problem when I had an rvm binary in /opt/local/bin (a macport called 'rsync vault manager'). After uninstalling that, rvm stopped removing /opt/local/bin from my path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With