macOS Tahoe ships with Ruby 2.6.10 which was End Of Life in April 2022 (https://www.ruby-lang.org/en/downloads/branches/). How can I either upgrade it to Ruby 3.4.7 or delete it, so that my mac meets minimum cybersecurity requirements?
I use rbenv for more recent versions of Ruby at the moment so don't need any suggestions on how to do add them, I just need rid of the dangerously out of date system Ruby, thanks.
Ruby is part of the macOS base system. That’s immutable, and so there’s no way for you to “update or remove” it.
Most folks in your situation install the latest Ruby using their mechanism of choice and then change their environment so that they use that version of Ruby by default. However, you wrote:
so that my mac meets minimum cybersecurity requirements?
which suggests that you’re working in some sort of managed environment that imposes these minimum requirements. If so, I recommend that you talk to your site manager about this. They could, for example, deploy an endpoint security client on to your Mac that blocks execution of the built-in Ruby.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"