Closed tigris closed 3 years ago
This is due to an upstream issue in Ruby: https://bugs.ruby-lang.org/issues/17777
A workaround for this is to run: CFLAGS="-Wno-error=implicit-function-declaration" ruby-install ruby 2.6.7
Thanks!
For anyone finding this in 2022, this has been fixed starting with 2.6.8. Both 2.6.8 and 2.6.9 install without issue on my M1 Mac. Also, the 2.6.x series will reach end of life in March 2022, so I would upgrade your projects to Ruby 2.7.x or 3.x.
FWIW- installing ruby 2.7.3 and ruby 3.0.1 worked flawlessy, and I am extremely grateful for that.
Here is a gist of the install log.
I'm hoping I don't have any crazy ENV setup that would be having an effect here. Here's my
env
just in case.