Skip to content

Update ruby troubleshoot doc with macOS SIP break error

What does this merge request do and why?

Update ruby troubleshoot doc with macOS SIP(System Integrity Protection) break error

Add how disabled SIP breaks Ruby builds on macOS and how to solve it.

The version manager asdf uses ruby-build. This is a known issue on the ruby-build discussions page, where it was addressed by ruby core team member @hsbt. https://github.com/rbenv/ruby-build/discussions/2106

How to set up and validate locally

  1. Disable SIP using the official instructions.

  2. Run the one-line installation command, which should fail on the installing bundled gems step:

curl "https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/install" | bash
  1. Enable SIP using the official instructions.

  2. Run the one-line installation command:

curl "https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/install" | bash

It should successfully complete.

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Yuvraj Chettri

Merge request reports