Update version of rails and ruby.