Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Loading ruby SDK from WSL2 into JetBrains RubyMine throws exception

Ruby • Asked by JDavid17

Hi, so i'm running WSL2, and install ruby with rbenv. Running which ruby yields the following:


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

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,152+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.