remove path from command

This commit is contained in:
Antonio J. Delgado 2023-11-27 20:03:52 +02:00
parent 22d49d6393
commit 4400861b28

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