"how to update ruby on linux (ubuntu)?" Code Answer

4
sudo apt-get install ruby1.9

should do the trick.

you can find what libraries are available to install by

apt-cache search <your search term>

so i just did apt-cache search ruby | grep 9 to find it.

you'll probably need to invoke the new ruby as ruby1.9, because ubuntu will probably default to 1.8 if you just type ruby.

By 01Riv on July 2 2022

Answers related to “how to update ruby on linux (ubuntu)?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.