diff --git a/templates/install_ruby.sh.erb b/templates/install_ruby.sh.erb index 258e948..94f8057 100644 --- a/templates/install_ruby.sh.erb +++ b/templates/install_ruby.sh.erb @@ -3,5 +3,5 @@ set -euo pipefail if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then 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