简体   繁体   中英

uninstalling rvm can kill ruby versions?

I was forced to uninstall then reinstall rvm but now when I run rvm use 2.0.0 , I get a message telling me that this version is not installed. But, it is uninstalled if and only if the rvm unistall all killed the ruby 2.0.0. that was installed. Is it possible ?

By default all rubies / gems are stored inside of $rvm_path directory which is called 'self contained' and means removing RVM will also remove all related stuff.

It is configurable, you can choose to install RVM rubies and gemset locations with:

rvm_rubies_path=/opt/rubies
rvm_gems_path=/opt/rvm_gemsets

put it either in ~/.rvmrc or /etc/rvmrc - this directories have to exist and need to be writable for users that will use them, use chmod g+ws and a group that is common for multiple users so different users can nstall and remove rubies / gems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM