update rails to latest version and add ruby version