Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrubyt on 1.9.1 #6

Open
guiguidoc opened this issue Mar 11, 2010 · 5 comments
Open

scrubyt on 1.9.1 #6

guiguidoc opened this issue Mar 11, 2010 · 5 comments

Comments

@guiguidoc
Copy link

var/lib/gems/1.9.1/gems/scrubyt-0.4.06/lib/scrubyt.rb:1: warning: variable $KCODE is no longer effective; ignored
no such file to load -- jcode

@jakemoffatt
Copy link

I get this same error on 1.9.1 on Windows, looking for the answer. Rubygems is def included, this is using the canonical google example.

I also have installed the RubyInstaller DevKit so that I could build Hpricot (before i installed Scrubyt) and Hpricot works for sure.

  • Update*:
    Seems jcode is removed from 1.9.1, what now?

@papayaah
Copy link

anyone has a solution to this? im using ruby 1.9.2

@jakeonrails
Copy link

http://stackoverflow.com/questions/4120720/no-jcode-gem-when-running-rails-server

TL;DR:
find the line of code including jcode and do this:
require 'jcode' if RUBY_VERSION < '1.9'

@papayaah
Copy link

papayaah commented Feb 8, 2011

i thnk i tried doing that but still get bunch of errors, but its okay, I went with a more modern library - nokogiri. I am good now, i just need to be able to parse an arbitrary HTML with powerful DOM parsing capabiity. Nokogiri offers xpath and css style selectors.

@TylerRick
Copy link

I get the same error. Please update scrubyt to support Ruby 1.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants