Fix gem related error