This should install the latest.
Install ruby 2 1.
On linux unix you can use the package management system of your distribution or third party tools rbenv and rvm.
For example typing this will uninstall ruby version 2 1 3.
On macos machines you can use third party tools rbenv and rvm.
Rubyinstaller 2 7 1 1 2 6 6 1 2 5 8 1 and 2 4 10 1 released.
Rvm docs generate ri step 5.
If you don t know what version to install and you re getting started with ruby we recommend you use ruby devkit 2 6 x x64 installer.
To install ruby from the default ubuntu repositories follow these steps.
This should install the latest stable ruby version.
At the time of writing the version in the ubuntu repositories is 2 5 1 which is the latest stable version of ruby.
Ways of installing ruby.
We have covered the basics of how to install rbenv and ruby on rails here so that you can use multiple ruby.
Installing ruby using homebrew is easy.
With the rbenv uninstall command you can clean up your versions of ruby so that you do not have more installed than you are currently using.
The easy way to install ruby on windows.
We have several tools on each major platform to install ruby.
It provides the biggest number of compatible gems and installs msys2 devkit alongside ruby so that gems with c extensions can be compiled immediately.
Install of ruby 2 1 8 complete ruby was built without documentation to build it run.
Sudo pacman s ruby.
Installing ruby from ubuntu repositories the easiest way to install ruby on your ubuntu system is through the apt package manager.
Setup default ruby version use rvm command to setup default ruby version to be used by applications.
Homebrew is a commonly used package manager on macos.
This is a self contained windows based installer that includes the ruby language an execution environment important documentation and more.