update ruby version and cleanup gems