Right now the latest ruby my ruby-install will install is 2.3.0, but ruby 2.3.1 was released about 45 days ago.
Is there a step I need to do do have ruby-install have the ability install the latest?
Right now the latest ruby my ruby-install will install is 2.3.0, but ruby 2.3.1 was released about 45 days ago.
Is there a step I need to do do have ruby-install have the ability install the latest?
Assuming your system meets the requirements & it is installed correctly, here are some useful commands that should help. (obviously do not include
$
as it is only to represent cmd prompt)List supported Rubies and their major versions:
$ ruby-install
List the latest versions:
$ ruby-install --latest
Install the current stable version of Ruby:
$ ruby-install ruby
Install the latest version of Ruby:
$ ruby-install --latest ruby
Install a stable version of Ruby:
$ ruby-install ruby 2.3
Install a specific version of Ruby:
$ ruby-install ruby 2.3.1
Install a Ruby into a specific directory:
$ ruby-install --install-dir /path/to/dir ruby
Here is a link to the documentation - https://git.io/vLJIJ
I would highly suggest a tool such as
rbenv
- which allows you to manage your ruby environment, downloading multiple versions & switch between them very easily +more - https://github.com/rbenv/rbenv