From de63f0562f7e38db72833ccd57749d04fef03d93 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 27 Nov 2023 20:06:15 +0200 Subject: [PATCH] add path --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 4ba1685..f595742 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -157,7 +157,7 @@ class mastodon ( require => Vcsrepo['rbenv'], } exec { 'install_ruby': - command => 'rbenv install 3.2.2', + 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',