rubymine(windows) cannot load WSL2 rvm?

RubyMine does not recognize rvm/ruby in WSL2.

output:Unable to read RBConfig from the specified interpreter.

 

RubyMine 2020.3.2
Build #RM-203.7148.67, built on January 26, 2021
Licensed to L yp
Subscription is active until December 29, 2021.
For educational use only.
Runtime version: 11.0.9.1+11-b1145.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 957M
Cores: 8

 

0
10 comments

Hello,

could you please check whether the same happens in RubyMine 2021.1 EAP and in case you specify the path to the rvm executable ('which rvm')?

1

OK, I'll test it right away.

0

RubyMine 2021.1 EAP also failed. 😟

0

The problem has been solved. I filled in the directory path before, and I just changed it to the absolute path of the ELF file.

0
Avatar
Permanently deleted user

I have the same issue with 2021.1 and both wsl 1 and 2, when connected to enterprise Pulse Secure vpn. Few minutes after disconnecting vpn, adding new remote interpreter worked fine.

0

I gave it the full path to the exe abd it worked

~/.rvm/rubies/ruby-2.7.3/bin/ruby

0

Please sign in to leave a comment.