Skip to content

Instantly share code, notes, and snippets.

@jkeam
Last active August 14, 2025 02:32
Show Gist options
  • Select an option

  • Save jkeam/daed68803ccd2868bae44e2667f392a7 to your computer and use it in GitHub Desktop.

Select an option

Save jkeam/daed68803ccd2868bae44e2667f392a7 to your computer and use it in GitHub Desktop.
Installing Ruby using Ruby Install
#!/bin/bash
# ubuntu
ruby-install ruby 3.4.5 -- --with-openssl-lib=/usr/lib/x86_64-linux-gnu
# mac
# openssldir=$(brew --prefix openssl)
# something like /opt/homebrew/opt/openssl@3
# fedora
# openssldir=/usr/lib64
#ruby-install ruby-3.4.5 -- --with-openssl-dir=$openssldir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment