Updates Gem environment