gemDir refactored to use the GemUtils.gemCopySpec utility method