Open mciasuen opened 2 years ago
I just ran into this same issue when trying to install version 3.3.3. After a bunch of searching I came across this answer on StackOverflow that did the trick.
https://stackoverflow.com/a/73230207/631187
First I ran this:
sudo xcode-select -s /Library/Developer/CommandLineTools
And then could successfully do:
asdf install ruby 3.3.3
# sw_vers
# asdf ---version
# asdf plugin-update ruby
# asdf install ruby 3.1.2
I also tried permutations of
optflags=-Wno-error=implicit-function-declaration
/ASDF_RUBY_BUILD_VERSION=v20220630
from #285 andRUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
from #258 none of it affected the problem.