Refactored Ruby and RVM install and update