How to Install Ruby Version 3.2 using ASDF on M1 Macbook (and probably on M2, too)

1 · Maxmiliano F Braga · March 11, 2023, 9:47 a.m.
If you’re having trouble installing Ruby version 3.2 using ASDF on your M1 Macbook, you’re not alone. The standard commands asdf plugin add ruby and asdf install ruby 3.2.1 may not work and can return an error message indicating that you need to install psych and other dependencies that you may already have installed. Don’t worry though, there’s a simple workaround that can help you get around this issue. First, try adding the following environment variable to your terminal: 1 $ export RUBY_CONF...