lrlebron / gmail.com wrote: > You can change the code one of two ways to get it to work > > This way which is useful if you want, for example, to use a particular > version of the library > > require 'rubygems' > require 'net/http' > require 'uri' > require_gem 'hpricot', '=0.4' > require 'hpricot' > > or this way to use the latest version > > require 'net/http' > require 'uri' > require 'hpricot' > > Luis Ahhh, ok, so I have to require 'hpricot' regardless of whether I have already done a require_gem 'hpricot'. Seems a little odd that! I'll have to add it to my list of "not principle of least surprise" examples :-) Thankyou -- Posted via http://www.ruby-forum.com/.