put a more generic ruby version