Making ruby version check more lenient