Added necessary gems before modding the branches.