Making ruby version more generic.