Installing Ruby using RVM (Ruby Version Manager) is very simple. RVM helps you to install and manage multiple Ruby versions/environments.
Following are the steps to install Ruby using RVM:
- gpg –keyserver hkp://keys.gnupg.net –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- \curl -sSL https://get.rvm.io | bash
- rvm install ruby-version example: rvm install 2.3.0
- Skip 1 and 2 if you had already installed RVM.