View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012965CMakeModulespublic2012-02-17 11:182016-06-10 14:31
ReporterThomas Dziedzic 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformlinuxOSarchlinuxOS Versionrolling release
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0012965: FindRuby.cmake uses an incorrect method to detect if vendor directory is available.
DescriptionI'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']
TagsNo tags attached.
Attached Filespatch file icon cmake-findruby.patch [^] (1,069 bytes) 2012-05-21 12:37 [Show Content]

 Relationships

  Notes
(0028620)
Brad King (manager)
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 (reporter)
2012-05-21 12:33

Fedora bug here: https://bugzilla.redhat.com/show_bug.cgi?id=822796 [^]
(0041989)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-02-17 11:18 Thomas Dziedzic New Issue
2012-02-17 14:18 Brad King Note Added: 0028620
2012-02-17 14:18 Brad King Status new => backlog
2012-04-11 18:17 Rolf Eike Beer Category CMake => Modules
2012-05-21 12:33 Orion Poplawski Note Added: 0029529
2012-05-21 12:37 Orion Poplawski File Added: cmake-findruby.patch
2016-06-10 14:28 Kitware Robot Note Added: 0041989
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team