我正在学习 Rails 教程。我遇到 RVM 的版本问题,并且收到很多错误。我想从 Ruby、Rails、Gemfiles 等的干净版本开始。
谁能给我一些关于如何卸载我的 Ruby-on-Rails 环境的简要说明?
最佳答案
试试这个:
rvm get head
rvm reset
rvm remove ... # take the output of rvm list and do rvm remove for each item in the list
rvm cleanup
rvm repair
rvm notes # make sure that you've got all the dependencies mentioned in the output from this command
rvm install ... # reinstall your rubies
这可能有点矫枉过正,但它应该能让您接近已知良好的配置。如果没有,请尝试:
rvm implode
这将完全删除 RVM,您可以从头开始。
如果这些都不起作用或者您仍然感到困惑,请在此处粘贴一些错误消息并详细说明您的操作系统和配置详细信息。
祝你好运!
关于ruby-on-rails - 如何卸载 Ruby on Rails 并进行全新安装?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4581776/