set global ruby version

This commit is contained in:
Antonio J. Delgado 2023-11-28 10:33:10 +02:00
parent 61d949c0b4
commit 46fe7b9563

View file

@ -185,13 +185,13 @@ class mastodon (
timeout => 0,
require => File['/usr/local/bin/install_ruby.sh'],
}
# exec { 'set_global_ruby_version':
# command => "${mastodon_home}/.rbenv/libexec/rbenv global 3.2.2",
# user => $mastodon_user,
# cwd => "${mastodon_home}/.rbenv/",
# # creates => '',
# require => Exec['install_ruby'],
# }
exec { 'set_global_ruby_version':
command => "${mastodon_home}/.rbenv/libexec/rbenv global 3.2.2",
user => $mastodon_user,
cwd => "${mastodon_home}/.rbenv/",
# creates => '',
require => Exec['install_ruby'],
}
# exec { 'install_bundler':
# command => 'gem install bundler --no-document',
# user => $mastodon_user,