Gov. tells Republicans to be optimistic