Disable export_concurrent to prevent segfault during precompile
See https://github.com/sass/sassc-ruby/issues/207 closes #8372
This commit is contained in:
parent
ee68da7eeb
commit
3cf84c838f
1 changed files with 6 additions and 0 deletions
|
|
@ -31,3 +31,9 @@ Rails.application.config.assets.version = "1.0"
|
|||
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
||||
|
||||
Rails.application.config.public_file_server.enabled = AppConfig.environment.assets.serve?
|
||||
|
||||
# assets:precompile can sometimes fail with a Segmentation fault.
|
||||
# Disabling export_concurrent is a workaround. See: https://github.com/sass/sassc-ruby/issues/207
|
||||
Rails.application.config.assets.configure do |env|
|
||||
env.export_concurrent = false
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue