Updating ruby mac
It is a prerequisite for compiling Ruby on Rails asset pipeline.
Use the following command in order to install the Nodesource repository to your system: The latest available version of Nodejs 10 will be installed on your system The gcc compiler is another prerequisite that you need to install before performing any Rails development.
It is called Ruby on Rails because Rails is written in the Ruby programming language, exactly how Symfony and Zend are written in PHP and Django in Python.
As you can see in the output, Ruby 2.6.0 is the latest version available.
In this section, we will explain how to start with the Rails development with the Postgre SQL database.
This will include: The system will prompt you with an authentication dialog, as only an authorized user can enable services on Ubuntu.
Now install the latest version of Ruby that you have selected in the previous step, by running the following rvm command: The process may take some time depending on your Internet speed, after which the selected number of Ruby will be installed on your system.