fix gem installation