简体   繁体   English

从Mac完全删除红宝石

[英]Completely removing ruby from mac

I have issues with building rails project, it simply says me about missing gems, while they present in system and properly configured. 我在构建Rails项目时遇到问题,它只是告诉我有关缺失的宝石的信息,而它们却存在于系统中并已正确配置。 So whats the best way to completely remove ruby&rails from system(mac os). 那么什么是从系统(mac os)上完全清除红宝石和铁轨的最佳方法。 I already tried ways that found in google, but bug still present and i guess not all files&folders were removed from system 我已经尝试过在Google中找到的方法,但是错误仍然存​​在,我想并不是所有文件和文件夹都已从系统中删除

Ruby and Rails are both software that is very version dependent, bringing up even worse issues than the famed "dll hell" in Windows the best way to do this is to install RVM , which allows you to run multiple versions of Ruby and Rails on a single system. Ruby和Rails都与版本密切相关,与Windows中著名的“ dll地狱”相比,它带来的问题甚至更严重。实现此目的的最佳方法是安装RVM ,它允许您在Windows上运行多个版本的Ruby和Rails。单系统。 You can then switch to the version of Ruby and Rails you need, and run/build your app. 然后,您可以切换到所需的Ruby和Rails版本,并运行/构建您的应用程序。

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

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