Tamachan87
Tamachan87

Reputation: 287

RVM is completely messed up. Need help to reinstall

I've been dabbling in Ruby and Ruby on Rails for a year or two and somewhere along the line I've completely buggered up my installation of RVM.

Everything has a permission denied message. rvm get head has permission denied, rvm repair has permission denied, and installing RubyGems always needs my password.

I'm at a stage where I cannot even generate a controller anymore because I don't have permissions.

Out of sheer desperation I ran rvm implode and...I guess I can't uninstall either as that has permission denied too.

I just want to completely wipe Ruby, Rails, and RVM from my MacBook and start over. What are my options?

Upvotes: 3

Views: 3017

Answers (2)

mpapis
mpapis

Reputation: 53158

update RVM using rvmsudo:

rvmsudo rvm get head

fix permissions:

rvm fix-permissions

this two commands should do it for you

Upvotes: 7

CuriousMind
CuriousMind

Reputation: 34135

rvm implode should do the trick. Incase you are getting permission denied errors, just change its permission using sudo chmod 777 -R <FILE_OR_DIR_NAME_HERE> or run sudo rvm implode

Upvotes: 7

Related Questions