diff --git a/src/api/config/initializers/assets.rb b/src/api/config/initializers/assets.rb index 7a22c59b0006..d84837a0be69 100644 --- a/src/api/config/initializers/assets.rb +++ b/src/api/config/initializers/assets.rb @@ -9,3 +9,8 @@ # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. Rails.application.config.assets.precompile += ['webui2/webui2.css', 'webui2/application.js', 'webui/obs_factory/application.css', 'webui2/cm2/*.js'] + +# FIXME: concurrency are raising failure during the precompile. +# For more information https://github.com/rails/sprockets/issues/581 +# and https://github.com/sass/sassc-ruby/pull/138 +Rails.application.config.assets.export_concurrent = false