Is there an RVM command to simply rename a gemset? I couldn't find it on the RVM site.
There is an RVM gemset rename command. I'm not sure when it was introduced but it is present in 1.0.16.
rvm gemset rename current_gemset_name new_gemset_name
As of RVM 1.21 or higher it will automatically switch you to the newly renamed gemset.
If you are on an older version of RVM you'll also need to switch to the newly created gemset, as follows:
rvm gemset use new_gemset_name
Running the command rvm gemset list
will tell you the current gemset you are operating within.
I copied one with
rvm gemset copy <gemset_from> <gemset_dest>
and then deleted the previous one with
rvm gemset delete <gemset_from>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With