install ruby with jemalloc

This commit is contained in:
chiu 2023-11-04 01:55:19 +00:00
parent a968e40cdd
commit 0008f31acd
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ if [[ "$@" == *"--install-passenger"* ]];then
sudo chown $USER:$USER $HOME -R
rvm user gemsets
sudo chown $USER:$USER /usr/share/rvm -R
rvm install 2.7.6 --with-openssl-dir="$openssl_dir"
sudo apt install libjemalloc-dev
rvm install 2.7.6 --with-openssl-dir="$openssl_dir" -C --with-jemalloc
curl -sSL https://rvm.io/mpapis.asc | sudo gpg --import -
curl -sSL https://rvm.io/pkuczynski.asc | sudo gpg --import -
rvmsudo rvm get stable && rvm reload && rvmsudo rvm repair all