Commit 7b6f8c9f7efb187b8ee739b91a9599476b89f6eb

Authored by Paulo Tada
1 parent 87b9ec69
Exists in master and in 1 other branch mezuro_spb

Adding fix for gitlab precompile

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
cookbooks/gitlab/recipes/default.rb
... ... @@ -124,10 +124,13 @@ end
124 124 # The precompile-assets runs into a bug that happens when it runs the FIRST time
125 125 # This means that when runs into a new and clean machine it will crash
126 126 # This bug is related to gitlab 7.6.* it should fix on gitlab 8.*
  127 +#
  128 +# The returns is accepting 1 as return for this case
127 129 execute 'precompile-assets' do
128 130 user 'git'
129 131 cwd '/usr/lib/gitlab'
130 132 ignore_failure true
131 133 command 'bundle exec rake assets:precompile RAILS_ENV=production'
132 134 action :nothing
  135 + returns [0,1]
133 136 end
... ...