Configure Ruby version and gem set.