That s because it s still the preferred ruby version for most people.
Install ruby 2 6 3 windows.
Rvm install 2 6 1 rvm use 2 6 1 default.
Ruby 2 6 3 is still fairly new so it won t have as many gems available.
On windows machines you can use rubyinstaller.
Compiling ruby source code.
This should install the latest stable ruby version.
Let s see how to install it.
Currently there s an arrow pointing at the 2 5 5 1 x64 package.
As of this writing rails 6 is released.
Homebrew macos ruby versions 2 0 and above are included by default in macos releases since at least el capitan 10 11.
See the installation page for details on using package management systems or third party tools.
To do this we have to run the following command gem update system.
Brew install ruby.
Installing ruby using homebrew is easy.
This should install the latest ruby version.
After installing ruby 2 7 let s now see how we can install ruby on rails 6.
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 upgrade from ruby 2 3 to 2 6 first you ll need to upgrade your version of ruby.
Rubyinstaller 2 7 1 1 2 6 6 1 2 5 8 1 and 2 4 10 1 released.
Of course you can also install ruby from source on all major platforms.
Open a new terminal and run the following command.
Homebrew is a commonly used package manager on macos.
It provides the biggest number of compatible gems and installs msys2 devkit alongside ruby so that gems with c extensions can be compiled immediately.
This is a self contained windows based installer that includes the ruby language an execution environment important documentation and more.
To install a version of ruby using rvm use the command rvm install version number so to install version 2 6 3 of ruby enter the following into the terminal.
To do this we will use the ruby version manager you installed when you did your original system install.
The easy way to install ruby on windows.
Also as it says on the page the 32 bit x86 version is recommended only if custom 32 bit native dlls or com objects have.
Installing ruby on rails 6 on ubuntu 20 04.