RubyMine not auto-switching Ruby version based on .ruby-version file despite it detecting all Ruby versions in rbenv

Answered

So I've a few Ruby versions (default, 3.0.5 and 3.1.3) on my system and they are properly displayed in RubyMine. I had the version initially set to 3.0.5 but I introduced a `.ruby-version` file later with the version as `3.1.3`. But the auto-switching of the version didn't happen.

I tried by restarting the IDE as well as deleting the .idea folder to no avail — restart did nothing, and deleting the .idea folder resulted in the “No Ruby interpreter configured for the project” warning which defeated the purpose of the version getting automatically selected.

0
1 comment

Hello,

That appears to be a known issue that relates to the general task about configuration files, so could you please add your vote there.

1

Please sign in to leave a comment.