6289c6
diff -up cmake-2.8.10-rc1/Modules/FindRuby.cmake.findruby cmake-2.8.10-rc1/Modules/FindRuby.cmake
6289c6
--- cmake-2.8.10-rc1/Modules/FindRuby.cmake.findruby	2012-10-02 10:12:18.000000000 -0600
6289c6
+++ cmake-2.8.10-rc1/Modules/FindRuby.cmake	2012-10-02 15:50:30.463292214 -0600
6289c6
@@ -92,14 +92,8 @@ if(RUBY_EXECUTABLE  AND NOT  RUBY_VERSIO
6289c6
    _RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR)
6289c6
    _RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
6289c6
 
6289c6
-   # vendor_ruby available ?
6289c6
-   execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
6289c6
-      OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY  ERROR_QUIET)
6289c6
-
6289c6
-   if(RUBY_HAS_VENDOR_RUBY)
6289c6
-      _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
6289c6
-      _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
6289c6
-   endif()
6289c6
+   _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
6289c6
+   _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
6289c6
 
6289c6
    # save the results in the cache so we don't have to run ruby the next time again
6289c6
    set(RUBY_VERSION_MAJOR    ${RUBY_VERSION_MAJOR}    CACHE PATH "The Ruby major version" FORCE)