WSL2 Ruby Interpreter path for Rubymine if You’re Using RVM

Bryan Siegel
February 12, 2022

If you want to include the Ruby Interpreter path in Rubymine on Windows 11 and you’re using WSL2 and RVM to manage Ruby versions you might search for

$ which ruby

You will get the path (linux_user_name == Your Linux username in WSL2)

$ /home/linux_user_name/.rbenv/shims/ruby

But that won’t work

You will need to modify your path to

linux_user_name == Linux user name, and version_of_ruby == Version of Ruby

$ /home/linux_user_name/.rbenv/versions/version_of_ruby/bin/ruby

There You Go

Tags

ruby on rails Web Development Windows

Would you like to hire me?

Side projects, Employment Opportunities, you want to give me a [big bag] of money.

Contact