DEV Community

Discussion on: Updating RUBY in Ubuntu

Collapse
 
harigopal profile image
Hari Gopal

Hi Joshua! We Ruby devs usually use a version manager to install our Ruby interpreters. This is because we often work with multiple projects that use different versions of Ruby.

This is similar to NVM, if you're used to working with Javascript.

You have two options here:

  1. Rbenv: github.com/rbenv/rbenv
  2. RVM: rvm.io/

Both work well, but I usually use Rbenv these days.

Install either first, and then use the version manager to install the exact version (and variant) of Ruby you want.

Note: If you choose Rbenv, remember that you'll need to install it and its ruby-build plugin - it's all mentioned in the well-written instructions.

Collapse
 
joshuawoodsdev profile image
JoshuaWoods

THANKS!!! when Restarted it seemed to install the correct ver I built for source. in the tar.gz folder. I'm a newbie and I'm learing alot thanks so much.