Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0c3e27a

Browse files
author
David Kang
committedMar 20, 2020
Disable concurrent when precompile the assets
Concurrency are raising failure during the precompile. There is an issue on sprocket related to this issue rails/sprockets#581.
1 parent a6cf72d commit 0c3e27a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎src/api/config/initializers/assets.rb

+7
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@
99
# Precompile additional assets.
1010
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
1111
Rails.application.config.assets.precompile += ['webui2/webui2.css', 'webui2/application.js', 'webui/obs_factory/application.css', 'webui2/cm2/*.js']
12+
13+
# FIXME: concurrency are raising failure during the precompile.
14+
# For more information https://github.com/rails/sprockets/issues/581
15+
# and https://github.com/sass/sassc-ruby/pull/138
16+
Rails.application.config.assets.configure do |env|
17+
env.export_concurrent = false
18+
end

0 commit comments

Comments
 (0)
Please sign in to comment.