How do I uninstall Ruby on Rails and do a clean install?

后端 未结 1 667
逝去的感伤
逝去的感伤 2021-02-01 08:05

I\'m following a Rails tutorial. I\'m having version problems with RVM and am getting lots of errors. I would like to start over with a clean version of Ruby, Rails, Gemfiles, e

相关标签:
1条回答
  • 2021-02-01 08:17

    Try this:

    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
    

    This is likely overkill, but it should get you close to a known-good configuration. If it doesn't, try:

    rvm implode
    

    That will completely remove RVM and you can start over from scratch.

    If none of this works or you are still confused, paste some of the error messages here and tell more about your operating system and configuration details.

    Good luck!

    0 讨论(0)
提交回复
热议问题