[Rock-dev] [rock] #182: ruby libs get installed in wrong path / version

rock noreply at opendfki.de
Mon Oct 29 17:57:12 CET 2012


#182: ruby libs get installed in wrong path / version
-----------------------+-----------------------
 Reporter:  jama01     |       Owner:  thro02
     Type:  defect     |      Status:  accepted
 Priority:  normal     |   Milestone:
Component:  toolchain  |  Resolution:
 Keywords:             |
-----------------------+-----------------------

Comment (by sylvain.joyeux):

 This behaviour is usually caused because an installation is bootstrapped
 with a given ruby version and later on another ruby version is installed.

 The steps to fix that issue once and for all:

  - autoproj should save the ruby binary that has been used for
 bootstrapping, and generate an error (with some hints as to how to fix the
 issue) if it gets executed using a different version
  - all CMake and Ruby packages that are building Ruby extensions should be
 provided the ruby executable explicitly. With FindRuby.cmake from Rock,
 this is done by setting RUBY_EXECUTABLE explicitly on the CMake command
 line.

-- 
Ticket URL: <https://rock.opendfki.de/ticket/182#comment:4>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list