From 22d49d6393e96144a767b0dcbb6f8fce66476449 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 27 Nov 2023 20:02:20 +0200 Subject: [PATCH] add path --- manifests/init.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/init.pp b/manifests/init.pp index 3065a6a..f595742 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -158,6 +158,7 @@ class mastodon ( } exec { 'install_ruby': command => "${mastodon_home}/.rbenv/bin/rbenv install 3.2.2", + path => "${mastodon_home}/.rbenv/bin:/usr/sbin:/usr/bin:/sbin:/bin", environment => [ 'RUBY_CONFIGURE_OPTS=--with-jemalloc', ],