To use WSL as a remote interpreter on Windows,
open the Settings/Preferences dialog &shortcut:ShowSettings;,
go to the Languages & Frameworks | Ruby SDK and Gems page.
Click
and select New remote....
In the invoked dialog, select WSL and specify the desired Linux distribution.
Learn more at Configure remote interpreters using WSL.
