BRUNSWICK, Me. — For 40 years, evangelicals at Bowdoin College have gathered periodically to study the Bible together, to pray and to worship. They are a tiny minority on the liberal arts college campus, but they have been a part of the school’s community, gathering in the chapel, the dining center, the dorms.

After this summer, the Bowdoin Christian Fellowship will no longer be recognized by the college. Already, the college has disabled the electronic key cards of the group’s longtime volunteer advisers.

In a collision between religious freedom and antidiscrimination policies, the student group, and its advisers, have refused to agree to the college’s demand that any student, regardless of his or her religious beliefs, should be able to run for election as a leader of any group, including the Christian association.

Similar conflicts are playing out on a handful of campuses around the country, driven by the universities’ desire to rid their campuses of bias, particularly against gay men and lesbians, but also, in the eyes of evangelicals, fueled by a discomfort in academia with conservative forms of Christianity. The universities have been emboldened to regulate religious groups by a Supreme Court ruling in 2010 that found it was constitutional for a public law school in California to deny recognition to a Christian student group that excluded gays.