[Rock-dev] Error in System management tutorial: moving to bundles

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Wed Nov 20 14:22:45 CET 2013


The problem here is that

http://spacegit.dfki.uni-bremen.de/transterra/buildconf/blobs/master/bootstrap.sh


simply calls ruby which means that the system-standart ruby version is 
choose.
Again select the current one with update-alternatives.


(nevertheless a warning should appear)

Matthias

On 20.11.2013 13:54, Martin Zenzes wrote:
> On 11/20/2013 09:34 AM, Sylvain Joyeux wrote:
>> Hi Martin
>>
>> The rock bootstrap script should have warned you about not using ruby
>> 1.8. Did it not ?
>>
> Hey,
> ran into similar problem (ruby1.8 vs. ruby1.9) yesterday while 
> bootstrapping for transterra. no warning whatsoever about any ruby 
> version (while using 1.8) is printed:
>
> {{{
> $ which ruby
> /usr/bin/ruby
> $ ruby --version
> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
> $ ls -a
> . ..
> $ wget http://www.rock-robotics.org/autoproj_bootstrap
>
> (omitted)
>
> $ ruby autoproj_bootstrap git 
> git://spacegit.dfki.uni-bremen.de/transterra/buildconf.git 
> branch=master 
> push_to=git at spacegit.dfki.uni-bremen.de:transterra/buildconf.git
>
> (omitted, selecting all defaults. finishes normally)
>
> $ source env.sh
> $ which ruby
> /home/mzenzes/TransTerrA/rock2/install/bin/ruby
> $ ruby --version
> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
> $  cat `which ruby`
> #! /bin/sh
> exec /usr/bin/ruby1.8 "$@"
>
> (meh...)
>
> $ autoproj update
>
> (omitted, using "master" and selecting defaults for the rest: will 
> fail later)
>
> }}}
>
>
> - building fails while compiling the gem "binding_of_caller". log is 
> attached to this email
> - setting the correct ruby version in the beginning using 
> "update-alternatives --config ruby" will allow finishing the bootstrap.
>
> Greetings
>     Martin
>
>
>
>
> _______________________________________________
> 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 5
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4193
  Zentrale: +49 421 178 45-6550
  Fax:      +49 421 178 45-4150
  E-Mail:   matthias.goldhoorn at uni-bremen.de

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

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20131120/7ac8f5a8/attachment.htm 


More information about the Rock-dev mailing list