update rails gem dependency