Skip to content

Instantly share code, notes, and snippets.

@cjjavellana
Created December 8, 2023 05:45
Show Gist options
  • Save cjjavellana/bce1b46174178cb57172771ae799585b to your computer and use it in GitHub Desktop.
Save cjjavellana/bce1b46174178cb57172771ae799585b to your computer and use it in GitHub Desktop.
Installing RVM and Ruby 3.2.2 on MacOS M1
$ 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