attempting to fix gem errors