Suitable for copy-pasting:
sudo apt-get install -y build-essential openssl libreadline6 \
libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev \
libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev \
autoconf libc6-dev ncurses-dev automake libtool bison \
subversion pkg-config
\curl -L https://get.rvm.io | bash -s stable --ruby
source ~/.rvm/scripts/rvm
ruby -e "$(\curl -L http://r-7.co/UsEqxW )"
Worked great, adding a DB creation script in bash could be a nice addition to this project