MantisBT - CMake
View Issue Details
0012965CMakeModulespublic2012-02-17 11:182016-06-10 14:31
Thomas Dziedzic 
Kitware Robot 
normalminoralways
closedmoved 
linuxarchlinuxrolling release
CMake 2.8.7 
 
0012965: FindRuby.cmake uses an incorrect method to detect if vendor directory is available.
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']
No tags attached.
patch cmake-findruby.patch (1,069) 2012-05-21 12:37
https://public.kitware.com/Bug/file/4332/cmake-findruby.patch
Issue History
2012-02-17 11:18Thomas DziedzicNew Issue
2012-02-17 14:18Brad KingNote Added: 0028620
2012-02-17 14:18Brad KingStatusnew => backlog
2012-04-11 18:17Rolf Eike BeerCategoryCMake => Modules
2012-05-21 12:33Orion PoplawskiNote Added: 0029529
2012-05-21 12:37Orion PoplawskiFile Added: cmake-findruby.patch
2016-06-10 14:28Kitware RobotNote Added: 0041989
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0028620)
Brad King   
2012-02-17 14:18   
Currently we have no module maintainer for FindRuby:

  http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]

Moving to backlog until a volunteer maintainer is available.
(0029529)
Orion Poplawski   
2012-05-21 12:33   
Fedora bug here: https://bugzilla.redhat.com/show_bug.cgi?id=822796 [^]
(0041989)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.