我在〜/ .rvm /下安装了ruby和gems,现在我想重新安装所有的东西。
有没有修改/链接生活在这个文件夹之外? 所以,通过删除文件夹〜/ .rvm /可以重新开始吗?
请跑
rvm implode
这就是爆裂国旗
implode - removes the rvm installation completely. This means everything in $rvm_path (~/.rvm || /usr/local/rvm). This does not touch your profiles. However, this means that you must manually clean up your profiles and remove the lines which source RVM.
删除你的.bash_profile源码rvm安装(我假设你正在使用bash)的行。
如果你想重新开始,删除~/.rvm是安全的…但从我的经验来看,这大多不是问题。
非常重要的是在rc文件中获得正确的rvm初始化,你可以使它工作:
rvm get head --auto