update rails and ruby versions

as well as other things