DEV Community

Marchell Imanuel
Marchell Imanuel

Posted on

Adding RVM in WSL2 to Rubymine

I cannot find this info anywhere, so here it is. This how I add a gemset from RVM in WSL to Rubymine

Find RVM path by running

rvm info
Enter fullscreen mode Exit fullscreen mode

In my case, it was /usr/share/rvm

RVM path

Then add new remote in Settings
Add new remote

Select WSL, append /bin/rvm to your RVM path, mine looks like /usr/share/rvm/bin/rvm, then put it into path input

Path

Now you can choose which gemset you want to use
Choose gemset

Enjoy!

Top comments (0)