From: Ryan Davis Date: 2007-09-30T17:16:59+09:00 Subject: Re: mac - hpricot problems On Sep 27, 2007, at 19:18 , mortee wrote: > $ ruby -rubygems -rhpricot -e '' > ruby: no such file to load -- hpricot (LoadError) That won't work anyways. Do this instead: ruby -rubygems -e 'require "hpricot"' 'ruby -rubygems' does load rubygems but '-r' bypasses the regular require so it won't work for installed gems. You have to use 'require' for that directly. We are talking to core about making -r call require properly so things like rubygems can affect it.