如何从系统中删除RVM(Ruby版本管理器) [英] How to remove RVM (Ruby Version Manager) from my system

查看:106
本文介绍了如何从系统中删除RVM(Ruby版本管理器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从系统中删除RVM(Ruby版本管理器)?

How can I remove RVM (Ruby Version Manager) from my system?

推荐答案

有一个简单的内置命令将其拉出:

There's a simple command built-in that will pull it:

rvm implode

这将删除rvm/目录以及其中内置的所有红宝石.为了删除rvm的最终痕迹,您还需要删除rvm gem:

This will remove the rvm/ directory and all the rubies built within it. In order to remove the final trace of rvm, you need to remove the rvm gem, too:

gem uninstall rvm

如果您已经对PATH进行了修改,那么您可能也希望将其删除.检查您的.bashrc.profile.bash_profile文件,以及其他内容.

If you've made modifications to your PATH you might want to pull those, too. Check your .bashrc, .profile and .bash_profile files, among other things.

您也可能有一个/etc/rvmrc文件,或者您的主目录~/.rvmrc中也有一个文件也可能需要删除.

You may also have an /etc/rvmrc file, or one in your home directory ~/.rvmrc that may need to be removed as well.

这篇关于如何从系统中删除RVM(Ruby版本管理器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆