[MAESTRO-3011] isolate gem environment