Changed function to get the current ruby version and gemset