Установка RVM

$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

nano ~/.bash_profile

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

Подробнее: https://habrahabr.ru/post/120504/