0ee124
Index: cmake-3.17.0-rc1/Modules/FindRuby.cmake
0ee124
===================================================================
0ee124
--- cmake-3.17.0-rc1.orig/Modules/FindRuby.cmake
0ee124
+++ cmake-3.17.0-rc1/Modules/FindRuby.cmake
0ee124
@@ -110,14 +110,8 @@ if(RUBY_EXECUTABLE  AND NOT  RUBY_VERSIO
0ee124
   _RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR)
0ee124
   _RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
0ee124
 
0ee124
-  # vendor_ruby available ?
0ee124
-  execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
0ee124
-    OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY  ERROR_QUIET)
0ee124
-
0ee124
-  if(RUBY_HAS_VENDOR_RUBY)
0ee124
-    _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
0ee124
-    _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
0ee124
-  endif()
0ee124
+  _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
0ee124
+  _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
0ee124
 
0ee124
   # save the results in the cache so we don't have to run ruby the next time again
0ee124
   set(RUBY_VERSION_MAJOR    ${RUBY_VERSION_MAJOR}    CACHE PATH "The Ruby major version" FORCE)