Use compatible ruby versions in CI