BUILD FAILED (macOS 13.5.1 using ruby-build 20230914.1) #2253
-
Hi everyone! Here's what I got from the console:
I did update ruby-build already. Anyone can help on this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi, not sure what went wrong, but the output doesn't show the actual failure message. If you open the full build log (observe the |
Beta Was this translation helpful? Give feedback.
-
@thomasdiben Are you on an Apple Silicon Mac by any chance? If so, the problem could be that you're using Rosetta or running commands with Also, try installing Ruby 3.2.2 or 3.1.4. If it doesn't work, then the problem is most likely with something missing, broken, outdated, or misconfigured in your dev setup. If you can install Ruby 3.2.2 or 3.1.4, then I recommend upgrading your React Native project from 2.7.8 to either 3.1.4 or 3.2.2. For the most part, it should only require replacing "2.7.8" in the https://www.rubyonmac.dev/how-to-upgrade-the-ruby-version-in-your-project |
Beta Was this translation helpful? Give feedback.
Have you tried installing or upgrading Xcode command-line tools? Either
xcode-select --install
(for first-time install) or use Software Update to upgrade an already existing installation.Another thing you can try is
RUBY_CONFIGURE_OPTS="--disable-shared" rbenv install ...
. If your invocation line already has RUBY_CONFIGURE_OPTS (for example, to link to a specific openssl version), then just add--disable-shared
to the existing list of options. Good luck!Possibly ref. ruby/ruby@31bc55d