Frum, Ruby, Rails and OS X
and the quest for OpenSSL 3
1 min readJun 18, 2024
A few years back I discovered Frum, a Ruby version manager written in Rust.
It’s fast, minimalistic in a positive way: no feature you do not need and well maintained.
So, here is an updated version of my setup on OS X Sonoma on Apple Silicon.
- Install homebrew. If not already done, I let you read a good installation article here
- Install a few libraries that will be usefull for your rails setup:
brew install readline libyaml openssl nvm
- Insall Node
nvm install 22
(node version 22 was the latest at the time of writing, but you can adapt to the version you need for your project) and make it the default version. - Run the following command
frum install 3.3.3 --with-openssl-dir=$(brew --prefix openssl@3) --with-libyaml-dir=$(brew --prefix libyaml)
- Add to
.zprofile
or.zshrc
the following: eval “$(frum init)”
And Tada! you have a working ruby 3.3(.3) operating with the latest openssl.
There should not be any compromised when it comes to SSL, so downgrading to version 1 was not an option for my setup.
Last but no least, you can now install Rails by running gem install rails