modfied gem file