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
[email protected]: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
[email protected]
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: [email protected]
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev