[Rock-dev] Ruby - Errors in utilrb
    Javier Hidalgo Carrió 
    javier.hidalgo_carrio at dfki.de
       
    Thu Apr 19 09:57:31 CEST 2012
    
    
  
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
Many thanks in advance,
Javier.
    
    
More information about the Rock-dev
mailing list