From a user with sudo permissions
$ \curl -sSL https://get.rvm.io | sudo bash -s stable
$ source /etc/profile
Install Ruby
$ rvm requirements
$ rvm install ruby-2.1.0
$ rvm use ruby-2.1.0 --default
Create another user and add to the RVM group
$ adduser app-user
$ sudo usermod -a -G rvm app-user
Log in as app-user
, set a default ruby and set the gemsets for the application
$ rvm use ruby-2.1.0 --default
$ rvm user gemsets
The End :)