[Rock-dev] Ruby - Errors in utilrb

Alexander Duda Alexander.Duda at dfki.de
Thu Apr 19 10:16:12 CEST 2012


On Thu, 2012-04-19 at 09:57 +0200, Javier Hidalgo Carrió wrote:
> Hello rocks,
> 
> Well, I still have problems  between ruby and utilrb in one of my dev/ 
> folder (rimres-dev).
> I bootstraped it from the beginning, making the whole installation:
>      Everything compiled perfectly. (autproj update, autoproj build, any 
> errors).
> 
> When running a ruby script o got the following error (again) :-(
> 
> /home/jhidalgocarrio/RIMRES/rimres-dev/tools/utilrb/lib/utilrb/kernel/with_module.rb:28:in 
> `const_missing': uninitialized constant YARD (NameError)
>      from 
> /home/jhidalgocarrio/RIMRES/rimres-dev/tools/utilrb/lib/utilrb/yard.rb:4
>      from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 
> `gem_original_require'
>      from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
>      from 
> /home/jhidalgocarrio/RIMRES/rimres-dev/tools/utilrb/lib/utilrb/kernel/require.rb:7:in 
> `require_dir'
>      from 
> /home/jhidalgocarrio/RIMRES/rimres-dev/tools/utilrb/lib/utilrb/kernel/require.rb:5:in 
> `each'
>      from 
> /home/jhidalgocarrio/RIMRES/rimres-dev/tools/utilrb/lib/utilrb/kernel/require.rb:5:in 
> `require_dir'
>      from 
> /home/jhidalgocarrio/RIMRES/rimres-dev/tools/utilrb/lib/utilrb.rb:2
>      from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in 
> `gem_original_require'
>      from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
>      from sherpa.rb:16
> 
> In the file sherpa.rb the line 16 is: require 'utilrb'
> 
> Any suggestion? Should I upgrade to ruby 1.9.2 or higher?
> 
> Actually when doing
> 
> ruby -version
> 
> I get:
> 
> ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
> -e:1: undefined local variable or method `rsion' for main:Object (NameError)
> 
> and gem is 1.3.7

utilrb is broken

if you want to fix it temporary go into utilrb folder and enter 
git reset --hard  911cc5d48b668ce4665ceb7d7be932b5e4e0f7ae
into the console 

Hopefully Sylvain is fixing it today otherwise I can have a look in the
evening.

Alex 

-- 
Dipl.-Ing. Alexander Duda 
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

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



More information about the Rock-dev mailing list