如何在Mac OS X上重新安装Ruby和Gem [英] How to reinstall Ruby and Gem on Mac OS X

查看:2432
本文介绍了如何在Mac OS X上重新安装Ruby和Gem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


$ b我很难从计算机上卸载Ruby和Gem,这样我就可以完成所有的重新安装,因为我堵塞了一些错误和交叉线。 $ b

当我做 sudo uninstall gem 时,我得到以下进度/消息:

 准备卸载... 
卸载开始...
卸载失败...
原因:ErrorMissingBundle

我不是,我现在不重复寻找安装rvm,因为我只是想在我安装任何东西之前清理掉我的电脑并摆脱错误

解决方案

你没有说你在这个过程中得到了多少,但你所要做的就是去掉Ruby目录(grep为它)和宝石将消失。您可能还需要更新路径。



但是,您确实应该使用RVM。如果您正确安装,那么您看到的这些错误不会影响您,因为您将使用安装了Ruby和Gem的RVM。此外,安装Ruby的系统有时用于应用程序,如果您删除它,则可能会中断这些应用程序。



更多信息请参见上一个问题


I am trying very hard to uninstall Ruby and Gem from my computer so that I can do a complete reinstall of all, since I've clogged up a few errors and crossed wires.

When I do sudo uninstall gem I get the following progress/message:

Preparing Uninstall...
Uninstall Began...
Uninstall Failed...
Reason: ErrorMissingBundle

I'm NOT, I repeat NOT at this point looking to install rvm, since I just want to clean out my computer and get rid of the bugs before I install anything else.

解决方案

You didn't say how far you had gotten in the process, but all you have to do is remove the Ruby directory (grep for it) and the gems will go away with it. You'll probably have to update your paths as well.

But, you really should use RVM. If you install it correctly those errors you see will not affect you because you will be using the RVM installed Ruby and gems. Also, the system installed Ruby is sometimes used in apps and if you remove it you could break those apps.

More information in this previous question.

这篇关于如何在Mac OS X上重新安装Ruby和Gem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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