Skip to content

Commit

Permalink
Attempt to fix #767 by turning off asset concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiwitch committed Oct 26, 2021
1 parent f3352cf commit 9b5d956
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.precompile += %w( search.js )

# Bypass segfault in sassc 2.* + sprockets 4: https://github.com/rails/sprockets/issues/581#issuecomment-486984663
Rails.application.config.assets.configure do |env|
env.export_concurrent = false
end

Rails.application.config.assets.precompile += %w[
print.css
admin.css
Expand Down

0 comments on commit 9b5d956

Please sign in to comment.