On my Debian server I have a user called \"deployer\" that does not have sudo access, and has RVM installed.
When installing Ruby using \"deployer\", li
The accepted answer fails to install Ruby into .rvm/bin/ruby. The shell script ends up in .rvm/wrappers/ruby-2.0.0-p247/ruby which is a pain if your build script depends on this location and the version number changes over time.
Here is an easier solution that worked for me:
\curl -L https://get.rvm.io | bash -s -- --ignore-dotfiles --autolibs=0 --ruby
.rvm/bin/ruby is created as expected.
Source: http://blog.sunild.com/2013/07/install-ruby-with-rvm-on-mac-os-108.html