Loading ruby SDK from WSL2 into JetBrains RubyMine throws exception
Hi, so i'm running WSL2, and install ruby with rbenv. Running which ruby yields the following:
/home/tensai/.rbenv/shims/ruby
So i put that in the Ruby or verion manager path in the JetBrains RubyMine IDE, then throws the following exception.
Could not get RubyGems environment for Remote: ruby-2.7.0-p0: ver.2.7.0p0 ( revision 647ee6f091) p0 (wsl://UBUNTU1804/home/tensai/.rbenv/shims/ruby)
Any idea why? and how to fix it?
Thanks in advance