gem directory setup