Condition check for Ruby version.