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