The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12965 
====================================================================== 
Reported By:                Thomas Dziedzic
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12965
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-17 11:18 EST
Last Modified:              2012-02-17 11:18 EST
====================================================================== 
Summary:                    FindRuby.cmake uses an incorrect method to detect if
vendor directory is available.
Description: 
I'm specifically talking about the following line:
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindRuby.cmake;h=c4adfd1ee985a4f147796da654fa0b97fe61ee2f;hb=HEAD#l98

It seems that opensuse is the only distro shipping a vendor-specific.rb file
which is not a standard ruby convention. Archlinux, Debian, probably no other
distro uses this except Opensuse.

I emailed the opensuse ruby maintainer and he indeed said vendor-specific.rb was
only introduced from macports. You should be checking if the following variables
exist in ruby:

RbConfig::CONFIG['vendordir']
RbConfig::CONFIG['vendorlibdir']
RbConfig::CONFIG['vendorarchdir']
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-17 11:18 Thomas DziedzicNew Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to