From f6e021edf708a808e6dbae750384ca70248ca11a Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Thu, 2 Mar 2023 08:34:22 +0100 Subject: [PATCH] Fix installing ruby on Apple Silicone with libyaml Workaround via https://github.com/rbenv/ruby-build/pull/1929#issuecomment-1245427464 --- install/rtx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/rtx.sh b/install/rtx.sh index fecae66..77564fd 100755 --- a/install/rtx.sh +++ b/install/rtx.sh @@ -6,5 +6,6 @@ rtx global kubectl@1.25.5 rtx global nodejs@system rtx install python@3.9.4 rtx global python@3.9.4 +export RUBY_CONFIGURE_OPTS=--with-libyaml-dir=/opt/homebrew/opt/libyaml rtx install ruby@3.2.1 rtx global ruby@3.2.1