add create
This commit is contained in:
parent
e4c0fe981d
commit
690d5214ad
1 changed files with 5 additions and 5 deletions
|
@ -156,22 +156,22 @@ class mastodon (
|
|||
group => 'mastodon',
|
||||
require => Vcsrepo['rbenv'],
|
||||
}
|
||||
exec { 'update_ruby':
|
||||
command => "${mastodon_home}/.rbenv/bin/rbenv install 3.2.2",
|
||||
exec { 'install_ruby':
|
||||
command => "${mastodon_home}/.rbenv/libexec/rbenv install 3.2.2",
|
||||
environment => [
|
||||
'RUBY_CONFIGURE_OPTS=--with-jemalloc',
|
||||
],
|
||||
user => 'mastodon',
|
||||
cwd => "${mastodon_home}/.rbenv/",
|
||||
# creates => '',
|
||||
creates => "${mastodon_home}/.rbenv/versions/3.2.2/bin/ruby",
|
||||
require => Vcsrepo['ruby_build'],
|
||||
}
|
||||
# exec { 'set_global_ruby_version':
|
||||
# command => "${mastodon_home}/.rbenv/bin/rbenv global 3.2.2",
|
||||
# command => "${mastodon_home}/.rbenv/libexec/rbenv global 3.2.2",
|
||||
# user => 'mastodon',
|
||||
# cwd => "${mastodon_home}/.rbenv/",
|
||||
# # creates => '',
|
||||
# require => Vcsrepo['ruby_build'],
|
||||
# require => Exec['install_ruby'],
|
||||
# }
|
||||
# exec { 'install_bundler':
|
||||
# command => 'gem install bundler --no-document',
|
||||
|
|
Loading…
Reference in a new issue