https://github.com/arafatm/dotfiles/blob/master/install/rbenv.sh
This will install rbenv, the latest stable version of ruby and postgresql
This script will take a while to run/install, so be patient
This script will install some other helpful utilities https://github.com/arafatm/dotfiles/blob/master/install/setup.dev.sh
I'll go ahead and switch out the ruby version this week to use rbenv
Spend some time understanding how rbenv works https://github.com/sstephenson/rbenv
You'll need to add the 2 lines below to ~/.bashrc
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
and then source ~/.bashrc
This last command runs automatically when you open a new terminal. However, it won't run on currently running windows. So make sure you run it or you will have problems