From ce6c7a3df66b028a0d61ef2111d77bdc64bb5cf2 Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Tue, 15 Nov 2022 15:28:05 -0500 Subject: [PATCH] Update README.md --- docs/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/README.md b/docs/README.md index c134b516238a..0ff0d480ee41 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,6 +22,17 @@ cd docs bundle install ``` +- On newer versions of macOS/Xcode you may see a `bundle install` error similar to the following. You can workaround it by symlinking whichever version of `universal-darwin` you have. More info in [this SO](https://stackoverflow.com/a/65481787/18466468). + +```bash +/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21/ruby/config.h', needed by arena.o' +``` + +```bash +cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ +ln -sf universal-darwin22 universal-darwin21 +``` + ## Steps 1. Open the Terminal command line in macOS.