remove redundant RUBY_VERSION check