Ruby on Rails Tuesday, April 27, 2010

On Apr 27, 10:17 am, kevid <alumsimport...@yahoo.ca> 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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment