We will install rvm, which is pretty simple to install.Firstly request a key to verify the legitimacy of the RVM release we will be downloading, which is signed with the matching private key. To do this run this command.
Now we will install ruby. This is also pretty simple and easy. Run this command to install search and install the latest version of ruby.
We will now install bundler.
Let us add its repo and install it.
Now let us install rail via this command.
Also, those users who have already installed ruby on rails please mention your way, so new users can be benefitted and get help to various problems. Also, new methods will be added in the article to keep it updated.