Last active
September 20, 2023 04:50
-
-
Save firecall/6892cb209ae29e15d904b883060d0f5d to your computer and use it in GitHub Desktop.
Install Ruby 3.2.2 with rbenv and jemalloc on ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install libjemalloc-dev | |
RUBY_CONFIGURE_OPTS='--with-jemalloc' rbenv install 3.2.2 | |
# test (look for jemalloc warnings) | |
MALLOC_CONF=invalid_flag:foo ruby -v |
ruby -r rbconfig -e "puts RbConfig::CONFIG['MAINLIBS']"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Via https://gist.github.com/hopsoft/9e2b89688b56f3b59cb6b9fc8cfdeeb0