Update macOS
It's best to use the newest macOS version.
For instructions, check macOS and upgrade macOS.
After you've checked if macOS is up to date, check if Apple's Xcode Command Line Tools are installed.
Install Ruby on Rails 7 · macOS
It's best to use the newest macOS version.
For instructions, check macOS and upgrade macOS.
After you've checked if macOS is up to date, check if Apple's Xcode Command Line Tools are installed.