reference
I recently uninstalled rvm:
rvm implode
then reinstall it:
curl -L get.rvm.io | bash -s stable
Unfortunately, now when I try to run most (not all) rvm commands, it removes / usr / bin from my PATH and therefore cannot find all the command line commands it needs, such as grep, sed, etc. I have included the unedited copy and paste of my console below:
[~]$ echo $PATH /opt/local/bin:/opt/local/sbin:/Developer/usr/bin:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/Thai/.rvm/bin [~]$ rvm use Now using system ruby. [~]$ echo $PATH /opt/local/bin:/opt/local/sbin:/Developer/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/Thai/.rvm/bin [~]$
The same thing happens with rvm install... and rvm remove... but not rvm help or rvm info .
Any ideas on what's going on? rvm install... crashes after compilation because it needs to access the command line utilities in / usr / bin
source share