After I walked through the post (How to add WSL SDK on Windows to Rubymine).
It worked when Ruby interpreter path was assigned with system ruby path of WSL in Ruby SDK and Gems.
But after I installed rbenv in root account in WSL and set rbenv global to 2.4.2 version, when I set ruby interpreter path with rbenv global ruby path, it doesn't recognize the rbenv ruby with the following error:
"Could not find gems binaries directory"
Is there any solution for this?