A day after a judge in Manhattan issued the first New York State court ruling in support of gay marriage , Mayor Michael R. Bloomberg said New York City would appeal the decision , effectively closing the door on such marriages until the issue is decided by a higher court .