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. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Apr 27, 10:17 am, kevid <alumsimport...-FFYn/CNdgSA@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
kevid 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.Why not install it as a gem, then unpack it into vendor? And why aren''t you using Nokogiri? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.