improving rvm management in gitlab script