fix setup block for gem directory