See foundation/foundation-sites issue 12167, which was fixed in Foundation 6.7.1. However, since Foundation 6.7 requires Node 12 and the foundation-rails gem hasn't been maintained for a year and a half, we're not updating for now.