fix ruby install
This commit is contained in:
parent
198228f3ba
commit
e4c0fe981d
1 changed files with 9 additions and 2 deletions
|
@ -157,15 +157,22 @@ class mastodon (
|
|||
require => Vcsrepo['rbenv'],
|
||||
}
|
||||
exec { 'update_ruby':
|
||||
command => "${mastodon_home}/.rbenv/bin/rbenv global 3.2.2",
|
||||
command => "${mastodon_home}/.rbenv/bin/rbenv install 3.2.2",
|
||||
environment => [
|
||||
'RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.2.2',
|
||||
'RUBY_CONFIGURE_OPTS=--with-jemalloc',
|
||||
],
|
||||
user => 'mastodon',
|
||||
cwd => "${mastodon_home}/.rbenv/",
|
||||
# creates => '',
|
||||
require => Vcsrepo['ruby_build'],
|
||||
}
|
||||
# exec { 'set_global_ruby_version':
|
||||
# command => "${mastodon_home}/.rbenv/bin/rbenv global 3.2.2",
|
||||
# user => 'mastodon',
|
||||
# cwd => "${mastodon_home}/.rbenv/",
|
||||
# # creates => '',
|
||||
# require => Vcsrepo['ruby_build'],
|
||||
# }
|
||||
# exec { 'install_bundler':
|
||||
# command => 'gem install bundler --no-document',
|
||||
# user => 'mastodon',
|
||||
|
|
Loading…
Reference in a new issue