Base ruby version check on RUBY_VERSION