remove path

This commit is contained in:
Antonio J. Delgado 2023-11-27 20:12:16 +02:00
parent 28be822a5f
commit 058e9e71ff

View file

@ -157,7 +157,7 @@ class mastodon (
require => Vcsrepo['rbenv'], require => Vcsrepo['rbenv'],
} }
exec { 'install_ruby': exec { 'install_ruby':
command => ["${mastodon_home}/.rbenv/bin/rbenv", 'install', '3.2.2'], command => ['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',