Closed
Description
I had no end of trouble figuring out the exact configuration of ENV vars and tools to use for this, so I thought I'd just document it here for others. With this I have Ruby 2.6.3, 2.6.6 and 2.7.2 installed through asdf-ruby.
- Homebrew native installation (arm64)
- Homebrew packages:
libffi
,libyaml
,zlib
,readline
- ENV vars
export RUBY_CONFIGURE_OPTS="--with-zlib-dir=/opt/homebrew/opt/zlib --with-openssl-dir=/opt/homebrew/opt/[email protected] --with-readline-dir=/opt/homebrew/opt/readline --with-libyaml-dir=/opt/homebrew/opt/libyaml"
export RUBY_CFLAGS="-Wno-error=implicit-function-declaration"
Metadata
Metadata
Assignees
Labels
No labels