Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created September 2, 2019 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkeam/65838dbc3c97d490c8510c3ade65ae52 to your computer and use it in GitHub Desktop.
Save jkeam/65838dbc3c97d490c8510c3ade65ae52 to your computer and use it in GitHub Desktop.
Ruby Install
# install gc
brew install jemalloc
# check for openssl installation location
brew list openssl
# install ruby
ruby-install ruby 2.6.4 -- --with-jemalloc --with-openssl-dir=/usr/local/Cellar/openssl/1.0.2s
# check for jemalloc
ruby -r rbconfig -e "puts RbConfig::CONFIG['LIBS']"
ruby -r rbconfig -e "puts RbConfig::CONFIG['SOLIBS']"
# test for openssl
ruby -ropen-uri -e 'eval open("https://git.io/vQhWq").read'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment