Clean up list of required gems