Save 36% for Black Friday! Learn more

All threads / Loading ruby SDK from WSL2 into JetBrains RubyMine throws exception
Ask A Question

Notifications

You’re not receiving notifications from this thread.

Loading ruby SDK from WSL2 into JetBrains RubyMine throws exception

JDavid17 asked in Ruby

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

Hi,
did you manage to solve your problem? If so, I'm very interested in how to do it, please tell me

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 67,819+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.