Ruby Language Ruby Version Manager How to create gemset

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

To create a gemset we need to create a .rvmrc file.

Syntax:

 $ rvm --rvmrc --create <ruby-version>@<gemsetname>

Example:

 $ rvm --rvmrc --create ruby-2.2.2@myblog

The above line will create a .rvmrc file in the root directory of the app.

To get the list of available gemsets, use the following command:

 $ rvm list gemsets


Got any Ruby Language Question?