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 hidden or 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 [email protected] | |
# 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 [email protected]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment