remove unneeded gems
dont use regex when not necessary to spec paths to ignore