Trying to fix gem errors