rbenvでRubyのglobalバージョンが更新されない

以下を実行

$ rbenv global 3.1.2
$ rbenv local --unset
$ rbenv shell --unset