From ed88843a6994da730f12389ff06415984f7674fc Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 28 Nov 2023 09:31:52 +0200 Subject: [PATCH] source bashrc --- templates/install_ruby.sh.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/install_ruby.sh.erb b/templates/install_ruby.sh.erb index 4a7090e..123047e 100644 --- a/templates/install_ruby.sh.erb +++ b/templates/install_ruby.sh.erb @@ -3,5 +3,6 @@ set -euo pipefail if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then cd '<%= @mastodon_home %>' + source '<%= @mastodon_home %>/.bashrc' RUBY_CONFIGURE_OPTS=--with-jemalloc '<%= @mastodon_home %>/.rbenv/bin/rbenv' install '<%= @ruby_version %>' fi