back to path

This commit is contained in:
Antonio J. Delgado 2023-11-27 20:13:43 +02:00
parent 058e9e71ff
commit 0f4d719b7e

View file

@ -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',