add path to installer

This commit is contained in:
Antonio J. Delgado 2023-11-28 09:50:37 +02:00
parent 990b416c3a
commit 219cd5f17b

View file

@ -3,5 +3,5 @@ set -euo pipefail
if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then
cd '<%= @mastodon_home %>' cd '<%= @mastodon_home %>'
sudo -u <%= @mastodon_user %> RUBY_CONFIGURE_OPTS=--with-jemalloc ./.rbenv/bin/rbenv install '<%= @ruby_version %>' sudo -u <%= @mastodon_user %> RUBY_CONFIGURE_OPTS=--with-jemalloc '<%= @mastodon_home %>/.rbenv/bin/rbenv' install '<%= @ruby_version %>'
fi fi