Update to later ruby, fix build

Moved RVM resetting into run_in_own_rvm, which takes the file path to
call a run_test.sh in