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

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

问题描述

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

解决方案

有一个简单的内置命令将拉动它:

  rvm implode 

这将移除 rvm / 目录及其内建的所有红宝石。为了移除rvm的最终轨迹,您还需要删除rvm gem:

  gem uninstall rvm 

如果您对 PATH 进行了修改,您可能会也想拉这些。检查你的 .bashrc .profile .bash_profile 文件,等等。

你也可以有一个 / etc / rvmrc 文件,或者在你的主目录下〜/ .rvmrc 可能需要删除。


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

解决方案

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

rvm implode

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

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.

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天全站免登陆