This commit is contained in:
Antonio J. Delgado 2023-11-27 20:06:15 +02:00
parent 4400861b28
commit de63f0562f

View file

@ -157,7 +157,7 @@ class mastodon (
require => Vcsrepo['rbenv'], require => Vcsrepo['rbenv'],
} }
exec { 'install_ruby': 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", path => "${mastodon_home}/.rbenv/bin:/usr/sbin:/usr/bin:/sbin:/bin",
environment => [ environment => [
'RUBY_CONFIGURE_OPTS=--with-jemalloc', 'RUBY_CONFIGURE_OPTS=--with-jemalloc',