This is more me thinking out loud, or on paper, or… um… ya know. I’ve started the endeavorer of setting up my own ruby server that I can deploy to.
This is a pet project. I am not a system admin or experience ruby developer. I have never used rvm before either. I have have never used Ubuntu Server Edition before either.
Install necessary prerequisites for the RVM installation
sudo apt-get install git-core curl vim
Follow the directions from RVM: http://rvm.beginrescueend.com/rvm/install/
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
RVM Post Insall
Change this line
[ -z "$PS1" ] && return
if [[ -n "$PS1" ]]; then
Add this to the bottom of the file
fi [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Exit and save by hitting ESC and typing :wq then hit enter.
To load rvm into your current shell
To find out additional dependencies you may need to install
Installing Ruby Enterprise Edition
rvm install ree rvm use ree rvm --default ree ruby -v