How do I completely uninstall rails, ruby and rubygems?

前端 未结 3 1777
孤城傲影
孤城傲影 2020-12-13 07:32

My system is F\'d. How do I completely uninstall rails, ruby and rubygems?

any suggestions on where to go to reinstall from scratch? Best practices?

3条回答
  •  眼角桃花
    2020-12-13 08:19

    I suggest you to simply uninstall all Gems using gem uninstall [name_of_gem], then use RVM to install a new Ruby version and make it the default one.

    RVM also makes incredibly easy to remove a Ruby version and all its data since it installs everything in a folder within your home directory.

提交回复
热议问题