The Republican governor signed the bill Wednesday in a ceremony on Treasure Island in San Francisco Bay .