Okay, let's get your Ruby 2.6.10 updated! Since you're on a Mac, the best way to do this cleanly and manage your Ruby versions effectively is by using a Ruby version manager like rbenv.
Here's a step-by-step guide using rbenv
:
1. Install rbenv
and ruby-build
(if you haven't already):
ruby-build
is an rbenv
plugin that simplifies the process of installing different Ruby versions.
- Open your Terminal.
- If you don't have Homebrew installed, install it first: