rvm install code example
Example 1: rvm install new ruby version
$ ruby -v # Check ruby version
$ rvm install ruby-X.X.X # Install specific ruby version
$ rvm list # List ruby versions
$ rvm use ruby-X.X.X # Choose a version to use
$ rvm use ruby-X.X.X --default # Set a version as default
Example 2: install rvm
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB