Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I killed rvm now I have a bash message

I decided to kill rvm, using the rvm implode command.

When I run cd in osx terminal I get this message:

 ~/projects $ cd
-bash: /Users/boris/.rvm/scripts/initialize: No such file or directory
-bash: /Users/boris/.rvm/scripts/hook: No such file or directory

How can I correct this?

like image 830
JZ. Avatar asked Oct 08 '11 01:10

JZ.


2 Answers

First of all close all terminals and open them again. If that didn't work, edit your .bash_profile (check .bashrc to be sure) and remove all lines that have to do with rvm. Then close out the terminal and open it again in order to reload bash.

Also, remove ~/.rvm just to be sure.

like image 72
Candide Avatar answered Nov 17 '22 14:11

Candide


Ingenu is correct, once you remove RVM you will need to close out the terminal session or shell session in order to completely wipe out all RVM related environment variables and settings.

like image 25
ddd Avatar answered Nov 17 '22 15:11

ddd