[Rock-dev] A small look ahead ... Ruby 1.9 is going to die.

Sylvain Joyeux bir.sylvain at gmail.com
Thu Oct 9 14:35:23 CEST 2014


> Can you ( somebody) point out how to correctly change ruby inside the
rock environment ? I remember that it was not that easy for 1.9 already and
since it's quite tricky with rock, a step by step process would be greatly
appreciated.

You have to re-bootstrap your environment. There is no safe, supported, way
to change the ruby version inside an existing environment. If you're
interested on some of the details about how the ruby version is handled,
see https://github.com/rock-core/base-cmake/pull/7

To choose which version of ruby you want to use, you currently have to run
the autoproj bootstrap script (NOT bootstrap.sh) with the relevant ruby
binary, e.g. on Debian for ruby 2.1

   ruby2.1 autoproj_bootstrap git https://github.com/rock-core/buildconf

We will have to allow overriding the ruby binary in bootstrap.sh as well
for convenience.

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20141009/3e0c4dc4/attachment.htm 


More information about the Rock-dev mailing list