I am struggling to update my Ruby version via Homebrew. I don’t quite understand what’s going on. It says Ruby 3.3.1 is ‘arealdy installed’ but then when I look at the version it says 2.6.10. How do I resolve this?
I’m ultimately trying to install cocoapods which requires a newer version of ruby.
I’ve just done the below but it still says it’s the old version.
`$ brew update
$ brew install ruby-build
$ brew install rbenv
$ rbenv install 3.3.1
$ rbenv global 3.3.1`
Thanks and apologies in advance, I’m a huge newbie. Go easy on me.