Last Updated: December 28, 2017
·
652
· krmbzds

Create a New Gemset (Shorthand Syntax)

You can use this shorthand syntax to create a gemset and switch to it:

rvm use <ruby-version>@<gemset-name> --create --ruby-version 

For example:

rvm use 2.4.3@mygemset --create --ruby-version

This will create a new gemset with the given Ruby version and switch to it.