rubymine 2.4.1

23 views
Skip to first unread message

Joe Guerra

unread,
Jun 6, 2017, 7:04:21 PM6/6/17
to Ruby on Rails: Talk
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?

Joe Guerra

unread,
Jun 6, 2017, 7:08:44 PM6/6/17
to Ruby on Rails: Talk
Ok, I figured it out.  I installed ruby 2.4.1 , but forgot to install rails for it.  lol.

Joe Guerra

unread,
Jun 6, 2017, 7:40:25 PM6/6/17
to Ruby on Rails: Talk
Lol, now I've got to get rails installed for that version.  

My default version is still 2.3.1.

Jason Fleetwood-Boldt

unread,
Jun 7, 2017, 10:42:36 AM6/7/17
to rubyonra...@googlegroups.com

On Jun 6, 2017, at 7:40 PM, Joe Guerra <JGu...@jginfosys.com> wrote:

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

My default version is still 2.3.1.

If you'd like to reply by encrypted email you can find my public key on jasonfleetwoodboldt.com (more about setting GPG: https://gpgtools.org

Kobes

unread,
Jun 7, 2017, 12:29:07 PM6/7/17
to Ruby on Rails: Talk
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
Reply all
Reply to author
Forward
0 new messages