Created
December 8, 2023 05:45
-
-
Save cjjavellana/bce1b46174178cb57172771ae799585b to your computer and use it in GitHub Desktop.
Installing RVM and Ruby 3.2.2 on MacOS M1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -sSL https://get.rvm.io | bash -s stable --ruby | |
# Install dependencies | |
$ brew install rust | |
$ brew install openssl@3.0 | |
# Switch arch to intel otherwise compile will fail | |
$ env /usr/bin/arch -x86_64 /bin/zsh --login | |
# install ruby 3.2.2 via rvm | |
$ rvm install ruby-3.2.2 --reconfigure --enable-yjit --with-openssl-dir=$(brew --prefix openssl@3.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment