update specified ruby version and switch to .ruby-version