Install curl as a dependency of the rvm installer:
aptitude install curl
Installing rvm as a multi-user install. This is so that everybody can use the gemsets, however we can also run the rails app as a non root user:
sudo bash < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )