Hpricot files ------

K

kevid

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.
 
E

Eric Hodel

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.

gem install hpricot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top