Goot evening,
The ruby version is chosen (and cached) during the bootstrapping of you installation. Unfortunalty so if you change the ruby version you have to re-bootstrap rock. There is no way to change ruby on a installed version (without causing inconsistency), so re-bootstrapping is the easiest way.

But since you not sure that ruby1.8 is deinstalled this would be the last step ;).

You're still welcome,
Matthias

On 21.11.2013 20:14, [email protected] wrote:
Hi, sorry for the delay,

I have the latest version of ruby installed. However when I run the command for roby initI get the error that I already showed the last time. So rock is still using ruby 1.8 even though I had 1.9 installed.

So I decided to simply removed ruby1.8 by:

sudo apt-get remove ruby1.8

which also removed rubygems1.8 and other related packages. I then run again update-alternativesjust in case but there was nothing to upgrade. So far so good,

however rock still tries to run the 1.8 version of ruby when it needs to, see command sequence below:

lrm@ubuntu:~$ ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
lrm@ubuntu:~$ cd rock/
lrm@ubuntu:~/rock$ . env.sh
lrm@ubuntu:~/rock$ ruby --version
/home/lrm/rock/install/bin/ruby: 2: exec: /usr/bin/ruby1.8: not found
lrm@ubuntu:~/rock$ autoproj update
bash: /home/lrm/rock/.gems/bin/autoproj: /usr/bin/ruby1.8: bad interpreter: No such file or directory

Attached the env.sh file where you can see that some env variables point to version 1.8 of ruby. I tried to change it manually but result is the same. I'm guessing this must have an easy fix...



Thanks again,

Cheers,

Martin Azkarate

*ESA - European Space Agency*
Spanish Trainee, TEC-MMA - Automation and Robotics Section

*ESTEC - European Space research and TEchnology Centre*
Keplerlaan 1, PO Box 299
NL-2200 AG Noordwijk, The Netherlands
[email protected] | www.esa.int
Tel +31 71 565 3480 | Mob +31 650 625 564



From: Steffen Planthaber <[email protected]>
To: [email protected]
Date: 20/11/2013 15:35
Subject: Re: [Rock-dev] Error in System management tutorial: moving to bundles
Sent by: [email protected]

------------------------------------------------------------------------



Hi,

Am 20.11.2013 15:20, schrieb Martin Zenzes:
> so based on the current bootstrap-script, the following will work for
> transterra (i will commit it to the SVN, as soon as compiling finished)

The svn location is project-specific, the default location should be
(correct me if i'm wrong) the buildconf git repository (where externals
would search for it).

The "buildconf" repository is the autoproj/ folder after bootstrapping
(successfully) it is renamed, so the correct location in your folders
is: autoproj/bootstrap.sh

Best, Steffen




--
 Steffen Planthaber
 Weltraumrobotik

 ###############################################
 #### Neue Anschrift und neue Kontaktdaten! ####
 ###############################################

 DFKI Bremen
 Robotics Innovation Center
 Robert-Hooke-Str.5
 28359 Bremen, Germany

 Phone: +49 (0)421 178 45 - 4125
 Fax:   +49 (0)421 218 - 64150
 E-Mail: [email protected]

 Weitere Informationen: http://www.dfki.de/robotik
 -----------------------------------------------------------------------
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
 Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
 (Vorsitzender) Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
 USt-Id.Nr.:    DE 148646973
 Steuernummer:  19/673/0060/3
 -----------------------------------------------------------------------

_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

This message and any attachments are intended for the use of the addressee or 
addressees only. The unauthorised disclosure, use, dissemination or copying 
(either in whole or in part) of its content is not permitted. If you received 
this message in error, please notify the sender and delete it from your system. 
Emails can be altered and their integrity cannot be guaranteed by the sender.

Please consider the environment before printing this email.


_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev


--
 --
 Matthias Goldhoorn
 Unterwasserrobotik
Standort Bremen:
 DFKI GmbH
 Robotics Innovation Center
 Robert-Hooke-Straße 5
 28359 Bremen, Germany
Phone: +49 (0)421 218-64100
 Fax:   +49 (0)421 218-64150
 E-Mail: [email protected]
Weitere Informationen: http://www.dfki.de/robotik
 -----------------------------------------------------------------------
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
 Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
 (Vorsitzender) Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
 USt-Id.Nr.:    DE 148646973
 Steuernummer:  19/673/0060/3
 -----------------------------------------------------------------------


_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

Reply via email to