Skip to content

Instantly share code, notes, and snippets.

@lazybios
Forked from hopsoft/install-ruby.sh
Created May 29, 2022 10:56
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 lazybios/e7c021896d5acfaa6f867f82515bcdd7 to your computer and use it in GitHub Desktop.
Save lazybios/e7c021896d5acfaa6f867f82515bcdd7 to your computer and use it in GitHub Desktop.
Install ruby with rbenv and jemalloc on ubuntu
sudo apt-get update
sudo apt-get install libjemalloc-dev
RUBY_CONFIGURE_OPTS='--with-jemalloc' rbenv install 2.6.3
# test (look for jemalloc warnings)
MALLOC_CONF=invalid_flag:foo ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment