I am running a web scraping script using scrubyt web scraping too. When I run then script I get above error. Below is the full trace:-

vishnu-suman@vishnusuman:~/ror$ ruby scrubyt1.rb
/home/vishnu-suman/.rvm/gems/ruby-1.9.3-p429@rails3/gems/scrubyt-0.4.06/lib/scrubyt.rb:1: warning: variable $KCODE is no longer effective; ignored
/home/vishnu-suman/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:112:in `require': cannot load such file -- jcode (LoadError)
  from /home/vishnu-suman/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:112:in `require'
  from /home/vishnu-suman/.rvm/gems/ruby-1.9.3-p429@rails3/gems/scrubyt-0.4.06/lib/scrubyt.rb:2:in `<top (required)>'
  from /home/vishnu-suman/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:116:in `require'
  from /home/vishnu-suman/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:116:in `rescue in require'
  from /home/vishnu-suman/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:122:in `require'
  from scrubyt1.rb:7:in `<main>'

I googled a lot but couldn't find any solution. NOT even on stackoverflow. I will provide you if you need more information. I will appreciate any help. Thanks a lot.

0

There are 0 best solutions below