The erf2-erf4 complex is a palmitoyltransferase with a major role in driving sexual development (PubMed:23843742, PubMed:16303567). Palmitoylates ras1 (PubMed:23843742). Palmitoylates isp3 (PubMed:23843742). Palmitoylates rho3 (PubMed:23843742). Interacts with erf2. Expressed during meiosis. Abolishes palmitoylation of ras1 during vegetative growth. Belongs to the ERF4 family.