william tell
william tell

Reputation: 4502

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

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, etc.

Can anyone give me some brief instructions on how to uninstall my Ruby-on-Rails environment?

Upvotes: 15

Views: 26738

Answers (1)

Erick
Erick

Reputation: 751

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!

Upvotes: 38

Related Questions