The local bifurcation of Ramsey equilibrium