hi all,
This is peter from NAOC,these days I come into trouble with the ruby
code.I have build a model for Tianlai project based on the PAPER's roach
model.Followed from[ https://casper.berkeley.edu/wiki/PAPER_Correlator_Manifest
],I have installed ruby and rubygems(V. 2.1.2) ,and download the KATCP using
the gem command.The KATCP is right installed that can operate with roach2,while
I don't know how to install the rb-papergpu and the adc-16.I have download the
2 files on my PC,however, when I rake the rakefile and ruby the .rb files,It
may not work. what should I do to operate it?Is there some useful documentation
to teach me whtat to do?This question confused me a few days,wati for your
reply! thanks!
peter
ps: when I do the ruby papergpu.rb,(I find from the paper' /lib/)
it appears the load error
..../rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file
-- papergpu/fengine.rb (LoadError)
from
/usr/local/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from papergpu.rb:1:in `<main>'
when I rake the Rakefile:
[peter@roachserver papergpu-0.0.11]$ rake Rakefile
[peter@roachserver papergpu-0.0.11]$
It seems nothing to happen......