This should install the latest stable ruby version.
Install ruby 2 1.
Setup default ruby version use rvm command to setup default ruby version to be used by applications.
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.
Sudo pacman s ruby.
The easy way to install ruby on windows.
Installing ruby from ubuntu repositories the easiest way to install ruby on your ubuntu system is through the apt package manager.
To install ruby from the default ubuntu repositories follow these steps.
Brew install ruby.
On linux unix you can use the package management system of your distribution or third party tools rbenv and rvm.
Homebrew macos ruby versions 2 0 and above are included by default in macos releases since at least el capitan 10 11.
Homebrew is a commonly used package manager on macos.
On macos machines you can use third party tools rbenv and rvm.
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.
Rvm docs generate ri step 5.
Rubyinstaller 2 7 1 1 2 6 6 1 2 5 8 1 and 2 4 10 1 released.
We have covered the basics of how to install rbenv and ruby on rails here so that you can use multiple ruby.
We have several tools on each major platform to install ruby.
Ways of installing ruby.
For example typing this will uninstall ruby version 2 1 3.
At the time of writing the version in the ubuntu repositories is 2 5 1 which is the latest stable version of ruby.
This should install the latest.
Installing ruby using homebrew is easy.
Install of ruby 2 1 8 complete ruby was built without documentation to build it run.