dkmd_nielsen
3/22/2007 2:16:00 PM
How does one control Gem when it is a gem of a called procedure that
is being enhanced. The gem to be enhanced has been checked out and I
would like to unit test it, but the called procedure contains a gem
statement. Specifically:
Primary procedure does this:
gem 'CmsStandards'
require 'CmsStandards'
require 'Project'
gem 'CmsPresort'
require 'CmsPresort'
require 'PresortSummaryReport'
The secondary procedure is in the CmsPresort gem, and the
CmsPresort.rb header looks like this:
require 'fileutils'
require 'Date'
require 'rubygems'
require 'zip/zip'
gem 'CmsStandards'
require 'CmsStandards'
require 'Project'
require 'ChgTable'
gem 'FirstLogicTemplate'
require 'FirstLogicTemplate'
It is the FirstLogicTemplate gem that is being enhanced. It is
"checked out" into a test area; it is the only thing checked out. It
is the only thing I want checked out. But gem will load it from the
gem library. Correct?
How does one communicate that the FirstLogicTemplate should be loaded
from a test library before it is loaded from a production gem library?
Any and all Gem advice will be appreciated. I do not understand how I
can setup Gem to permit a more traditional library check in/check out
for development, test, and production.
dvn