Switching Ruby to 3.2.2

I am looking for help switching Ruby over to 3.2.2. I am currently working on a Ruby on Rails project. However, I need to run “bundle install” and I need Ruby 3.2.2. I’ve tried using rbenv to switch Ruby over to 3.2.2, but Ruby still runs on 3.0.6. If anyone has any suggestions, that would be greatly appreciated.

Thanks.