update rails gem dependency to 4.1