如何卸载Ruby on Rails并进行全新安装?

我正在关注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,您可以从头开始。

如果这些都不起作用或您仍然感到困惑,请在此处粘贴一些错误消息,并详细说明您的操作系统和配置详细信息。

祝好运!