Karan
Karan

Reputation: 15094

Create RVM installation on single user that is in sudo group

I am on the sudo group in linux. I believe the rvm package I am working with lives in a root directory. Currently, if I do a bundle, it tries to install the gems in the rvm package living in the root directory, and hence I get permission errors. If I try doing sudo bundle, I somehow seem to switch to an older version of ruby, and bundle fails.

I would like to:

How can I achieve this?

Thanks!

Upvotes: 0

Views: 171

Answers (1)

Ben Campbell
Ben Campbell

Reputation: 4658

If you want to start from scratch you can use:

rvm implode
sudo rvm implode

implode - (seppuku) removes the rvm installation completely. This means everything in $rvm_path (~/.rvm || /usr/local/rvm). This does not touch your profiles. However, this means that you must manually clean up your profiles and remove the lines which s

Upvotes: 1

Related Questions