Update templates to be rvm compatible