From: Daniel Harple Date: 2006-05-16T22:25:56+09:00 Subject: Re: require 'mechanize'/Ruby search path problem On May 16, 2006, at 3:06 PM, Peter Szinek wrote: > Where is the problem? Should not this be automatic? (i.e. that if > you install a gem, it is installed to a place which is in $:, or > the $: is updated to contain the installed gem path (/usr/lib/ruby/ > gems/1.8/gems/ in my case)? > > Or i am doing something terribly wrong? ;-) You must ``require 'rubygems''' before using an installed gem. -- Daniel