Gem environment builder