From: Jim Weirich Date: 2007-03-25T11:01:31+09:00 Subject: Re: Ruby Gem question, updating a gem of a called procedure dkmd_nielsen wrote: > Primary procedure does this: > > gem 'CmsStandards' > require 'CmsStandards' > require 'Project' > gem 'CmsPresort' > require 'CmsPresort' > require 'PresortSummaryReport' You can actually drop all of the gem statement in the above code (and the other example as well). You only need to use the gem statement if you wish to load a non-default version of the gem. > [...] But gem will load it from the > gem library. Correct? A gem is only "activated" (i.e. moved into the Ruby load path) if it contains a required file that is not normally found. Just make sure your test version is available in the load path and the gem will never be activated. I test my libraries in this manner all the time. -- Jim Weirich -- Posted via http://www.ruby-forum.com/.