rubymine 2.4.1

I just installed a new version of ruby (2.4.1) using rbenv.

I have 2.3.1 installed as well. I’ve downloaded some source code that requires 2.4.1, and can’t seem to figure out how to switch ruby versions in the IDE (for that product).

Any suggestions?

Ok, I figured it out. I installed ruby 2.4.1 , but forgot to install rails for it. lol.

Lol, now I’ve got to get rails installed for that version.

My default version is still 2.3.1.

Generally, while using rbenv, you can set the global ruby version you want to use through
rbenv global [2.4.1]

But that would set the ruby version for whenever a local version is not set. When you invoke

rbenv local [2.4.1]
you set a specific version for the project you are working in (actually it simply creates a .ruby-version file with the version number in it.

My guess would be that Rubymine would also pick that up (I don’t have ruby mine), as I can only expect it to open up an environment that is based on your other settings, but this is something you might want to verify though.

Where to find that? Well, this might get you started: https://www.jetbrains.com/help/ruby/rbenv-support.html

http://www.jasonfleetwoodboldt.com/writing/2014/10/14/how-to-install-an-older-version-of-rails/