简体   繁体   English

如何在运行OS X的Mac上恢复默认的ruby配置?

[英]How do I restore the default ruby configuration on my mac running os x?

I'm learning ruby and I had an advanced developer working with me. 我正在学习红宝石,并且有一位高级开发人员正在与我一起工作。 He installed a bunch of gemsets and adjusted configurations and I need to know how to remove it all and start from scratch so that I can follow along with tutorials. 他安装了一堆宝石并调整了配置,我需要知道如何删除所有宝石并从头开始,以便我可以跟随教程学习。 Any help would be greatly appreciated. 任何帮助将不胜感激。

It sounds like he's installed rvm since you're referring to gemsets? 听起来他安装了rvm,因为您指的是宝石集? If so, you can simply delete the entire ~/.rvm folder and it should switch back to using system ruby. 如果是这样,您可以简单地删除整个〜/ .rvm文件夹,它将切换回使用系统ruby。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM