Updates gem versions and ruby version