Hpricot files ------

Hi all,

I need to make use of “Hpricot gem”
files. I don’t want to install it as a gem. I copied lib/hpricot/*{all
files} and lib/hpricot.rb to my application.

below is lib/hpricot.rb

begin
require ‘encoding/character/utf-8’
rescue LoadError
end

#require ‘hpricot_scan’
require ‘hpricot/tag’
require ‘hpricot/modules’
require ‘hpricot/traverse’
require ‘hpricot/inspect’
require ‘hpricot/parse’
require ‘hpricot/builder’

ALL files loaded properly except “hpricot_scan”. i can’t find anything
like hpricot_scan.rb in the gem’s folder.

Any help is highly appreciated.

On Apr 27, 2010, at 10:20, kevid wrote:

rescue LoadError
ALL files loaded properly except “hpricot_scan”. i can’t find anything
like hpricot_scan.rb in the gem’s folder.

Any help is highly appreciated.

gem install hpricot

Il 27/04/10 20.13, Eric H. ha scritto:

gem install hpricot

You miss the question… He didnt want to install as gem…

Kevid: look here http://github.com/whymirror/hpricot and… here
http://github.com/whymirror/hpricot/tree/master/ext/hpricot_scan/

Regards,

Francesco

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs