Installing Ruby

Installing Ruby

Notes from October 2024:

After having a hard time installing Ruby 3.2.0 on my M1 Macbook Air using various attempts, this is what ended up working for me:

  • Ensure Terminal app is not running in Rosetta mode.

    • Applications > Utilities > Terminal > Right-click get info > Uncheck "Open in Rosetta". Relaunch Terminal.

    • Installed Ruby 3.1.2: ruby-install ruby 3.1.2 -- --with-openssl-dir=$(brew --prefix openssl@3)

    • Installed Ruby 3.2.0: ruby-install ruby 3.2.0 -- --with-openssl-dir=$(brew --prefix openssl@3)

Last updated