Skip to content

Commit

Permalink
Use openssl@3 as required by Ruby 3.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
javierjulio committed May 31, 2023
1 parent 694fac3 commit a3bd059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/ruby.sh
Expand Up @@ -25,7 +25,7 @@ install_ruby() {
log_info "Installing Ruby ${ruby_version}."
# Only openssl needs to be specified as readline is taken care of
# https://github.com/rbenv/ruby-build/issues/1421#issuecomment-602822981
export RUBY_CONFIGURE_OPTS="--disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1)"
export RUBY_CONFIGURE_OPTS="--disable-install-doc --with-openssl-dir=$(brew --prefix openssl@3)"
rbenv install --skip-existing "$ruby_version"
rbenv shell "$ruby_version"
log_info "Ruby ${ruby_version} installed."
Expand Down

0 comments on commit a3bd059

Please sign in to comment.