RubyMine says ruby not installed, but is

114 Views Asked by At

When I open up a Rails project in RubyMine, I get the error message, "Required ruby-3.3.0 is not installed." However, I enter the command ruby --version and the terminal outputs ruby 3.3.0. What's wrong?

1

There are 1 best solutions below

11
Beartech On

In RubyMine you have to set your SDK in the settings for each project.

Click on Rubymine in the title bar

Click on the disclosure triangle for Languages and Frameworks

Click on Ruby SDK and Gems

You should see a list of installed Rubies. Select the radio button for your Ruby and hit the OK button.