On Apr 27, 10:17 am, kevid <[email protected]> wrote:
> 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.

You could probably find it through this link:

http://github.com/whymirror/hpricot/tree/master/ext/hpricot_scan/

Look at the setup.rb file. It should generate hpricot_scan.rb

Stephan

> Any help is highly appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to