From: Li Chen Date: 2008-08-13T04:35:07+09:00 Subject: Re: Hpricot and xpath Mark Thomas wrote: > Are you using an old version of Hpricot? When I run this code: > > #!/usr/bin/env ruby > require 'rubygems' > require 'hpricot' > doc = Hpricot(open("tag.txt")) > puts doc.at("#header").xpath > > I get the following result: > //div[@id='header'] > > I'm using Hpricot 0.6 (do a gem list --local to see your version) My version is 0.4. Since I can not install the new version remotely. I want to install it locally. But I can't find hpricot gem in Rubyfore. Li -- Posted via http://www.ruby-forum.com/.