961298
Index: cmake-3.23.0-rc2/Modules/FindRuby.cmake
961298
===================================================================
961298
--- cmake-3.23.0-rc2.orig/Modules/FindRuby.cmake
961298
+++ cmake-3.23.0-rc2/Modules/FindRuby.cmake
961298
@@ -315,14 +315,9 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_
7d1988
   _RUBY_CONFIG_VAR("sitearchdir" Ruby_SITEARCH_DIR)
7d1988
   _RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
7d1988
 
7d1988
-  # vendor_ruby available ?
7d1988
-  execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'"
7d1988
-    OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY  ERROR_QUIET)
7d1988
-
7d1988
-  if(Ruby_HAS_VENDOR_RUBY)
7d1988
-    _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
7d1988
-    _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
7d1988
-  endif()
961298
+  # vendor_ruby
961298
+  _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
961298
+  _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
7d1988
 
7d1988
   # save the results in the cache so we don't have to run ruby the next time again
7d1988
   set(Ruby_VERSION_MAJOR    ${Ruby_VERSION_MAJOR}    CACHE PATH "The Ruby major version" FORCE)