[Rock-dev] Phasing-in Ruby 2.0+

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Fri Apr 17 08:30:38 CEST 2015


Morning Sylvain,

Side question:
did you already tried ruby2.2 with rock?

Best,
Matthias

On 16.04.2015 22:03, Sylvain Joyeux wrote:
> As we agreed a while ago, 15.03 would be the last release supporting
> ruby 1.9 (which is already end-of-life if you are wondering).
>
> This means that master will be open to ruby 2.0+ constructs. The major
> improvement are keyword arguments (and thus the gradual phasing-out of
> utilrb's validate_options):
>
>    http://globaldev.co.uk/2013/03/ruby-2-0-0-in-detail/
>
> What I am asking myself is whether we should recommend ruby 2.0 as the
> ruby version for Rock 15.03 as well. (I've been running 2.1 for a year
> or so now, personally). 2.0 should be forward-compatible with 1.9.
>
> Autoproj should now do "the right thing" if you re-bootstrap an
> existing install with
>
>    rm -rf autoproj .gems
>    /usr/bin/ruby2.0 autoproj_bootstrap git URL
>    autoproj rebuild
>
> Sylvain
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Space and Underwater Robotic

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 1
  28359 Bremen, Germany
  
  Zentrale: +49 421 178 45-6611
  
  Besuchsadresse der Nebengeschäftstelle:
  Robert-Hooke-Straße 5
  28359 Bremen, Germany
  
  Tel.:    +49 421 178 45-4193
  Empfang: +49 421 178 45-6600
  Fax:     +49 421 178 45-4150
  E-Mail:  matthias.goldhoorn at informatik.uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik



More information about the Rock-dev mailing list