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
-
Disable SIP using the official instructions.
-
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
-
Enable SIP using the official instructions.
-
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:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
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 theCHANGELOG.md
.
Edited by Yuvraj Chettri