diff --git a/cookbooks/gitlab/recipes/default.rb b/cookbooks/gitlab/recipes/default.rb index 661bab6..0834914 100644 --- a/cookbooks/gitlab/recipes/default.rb +++ b/cookbooks/gitlab/recipes/default.rb @@ -101,4 +101,5 @@ end execute 'fix-relative-url-for-assets' do command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' /usr/lib/gitlab/config/application.rb' + command 'sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production' end -- libgit2 0.21.2