I''m trying to follow the examples here: http://code.whytheluckystiff.net/hpricot/wiki/HpricotBasics However, I get "no such file to load -- hpricot" I also tried include_gem but I get "Could not find RubyGem hpricot (> 0.0.0)" Many thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
did you do this? gem install hpricot if so, require ''rubygems'' require ''hpricot'' should work fine. On Mar 1, 11:19 pm, "z...-w8tEHcFK2X5Wk0Htik3J/w@public.gmane.org" <piemas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m trying to follow the examples here:http://code.whytheluckystiff.net/hpricot/wiki/HpricotBasics > > However, I get "no such file to load -- hpricot" > I also tried include_gem but I get "Could not find RubyGem hpricot (> > 0.0.0)" > > Many thanks in advance--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yep. Installed the gem, did it all. On Mar 1, 11:55 pm, "MisterBuntMan" <edwardb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> did you do this? gem installhpricot > > if so, > > require ''rubygems'' > require ''hpricot'' > > should work fine. > > On Mar 1, 11:19 pm, "z...-w8tEHcFK2X5Wk0Htik3J/w@public.gmane.org" <piemas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''m trying to follow the examples here:http://code.whytheluckystiff.net/hpricot/wiki/HpricotBasics > > > However, I get "no such file to load --hpricot" > > I also tried include_gem but I get "Could not find RubyGemhpricot(> > > 0.0.0)" > > > Many thanks in advance--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
zach-w8tEHcFK2X5Wk0Htik3J/w@public.gmane.org wrote:> Yep. Installed the gem, did it all.If you are doing this in Rails and you added the requires to environment.rb did you restart the server? -- Michael Wang --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m meant to put.. require ''rubygems'' require ''hpricot'' .. in my environment.rb? On Mar 2, 6:55 am, Michael Wang <rails-u...-JtyympAsP2K7zZZRDBGcUA@public.gmane.org> wrote:> z...-w8tEHcFK2X5Wk0Htik3J/w@public.gmane.org wrote: > > Yep. Installed the gem, did it all. > > If you are doing this in Rails and you added the requires to > environment.rb did you restart the server? > > -- > Michael Wang--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
zach-w8tEHcFK2X5Wk0Htik3J/w@public.gmane.org wrote:> I''m meant to put.. > require ''rubygems'' > require ''hpricot'' > .. in my environment.rb?Sure. -- Michael Wang --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---