Update Ruby version and gem dependencies.