repair gem file