Hi All,
Hope it is ok to post RDig queries on this forum.
Just trying to get RDig working (Ubuntu 6.06, RDig 0.3.0, ferret 0.9.4,
rubyful_soup 1.0.4)
Here is my output:
sh:~/rdigtry$ rdig -c config/rdig_config.rb
discovered content extractor class:
RDig::ContentExtractors::PdfContentExtractor
discovered content extractor class:
RDig::ContentExtractors::WordContentExtractor
discovered content extractor class:
RDig::ContentExtractors::HtmlContentExtractor
/home/steven/rdigtry/config/rdig_config.rb:4
/usr/lib/ruby/gems/1.8/gems/rdig-0.3.0/lib/rdig.rb:113:in
`configuration''
/home/steven/rdigtry/config/rdig_config.rb:1
/usr/lib/ruby/gems/1.8/gems/rdig-0.3.0/lib/rdig.rb:226:in
`load_configfile''
/usr/lib/ruby/gems/1.8/gems/rdig-0.3.0/lib/rdig.rb:233:in `run''
/usr/lib/ruby/gems/1.8/gems/rdig-0.3.0/bin/rdig:13
/usr/bin/rdig:18
/usr/lib/ruby/gems/1.8/gems/rdig-0.3.0/lib/rdig.rb:236:in `run'': No
Configfile found! (RuntimeError)
undefined method `path='' for nil:NilClass from
/usr/lib/ruby/gems/1.8/gems/rdig-0.3.
0/bin/rdig:13
from /usr/bin/rdig:18
and here is my config file:
RDig.configuration do |cfg|
cfg.crawler.start_urls = [ ''http://bbc.co.uk'' ]
cfg.indexer.path = ''/home/steven/rdigtry/index''
cfg.verbose = true
end
Seems as though the RDig script can''t load my config file?
Any advice very gratefully received.
Many Thanks,
Steven
--
Posted via http://www.ruby-forum.com/.