如何在运行 os x 的 mac 上恢复默认的 ruby 配置?
我正在学习 ruby,并且有一位高级开发人员与我一起工作。他安装了一堆宝石并调整了配置,我需要知道如何将其全部删除并从头开始,以便我可以按照教程进行操作。任何帮助将不胜感激。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来他已经安装了rvm,因为你指的是宝石集?如果是这样,您只需删除整个 ~/.rvm 文件夹,它就会切换回使用系统 ruby。
It sounds like he's installed rvm since you're referring to gemsets? If so, you can simply delete the entire ~/.rvm folder and it should switch back to using system ruby.