add path
This commit is contained in:
parent
03bdc7de2d
commit
bbd4074f43
1 changed files with 2 additions and 1 deletions
|
@ -262,8 +262,9 @@ class mastodon (
|
||||||
}
|
}
|
||||||
# RAILS_ENV=production rails db:setup
|
# RAILS_ENV=production rails db:setup
|
||||||
exec { 'db_setup':
|
exec { 'db_setup':
|
||||||
command => "rails db:setup > ${mastodon_home}/db_setup_done",
|
command => "${mastodon_home}/live/bin/rails db:setup > ${mastodon_home}/db_setup_done",
|
||||||
creates => "${mastodon_home}/db_setup_done",
|
creates => "${mastodon_home}/db_setup_done",
|
||||||
|
path => "${mastodon_home}/.rbenv/shims:${mastodon_home}/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||||
environment => [
|
environment => [
|
||||||
'RAILS_ENV=production',
|
'RAILS_ENV=production',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue