Extrapolate gems into separate file