Disable concurrent processing for assets
This commit is contained in:
@ -15,3 +15,9 @@ Rails.application.config.tap do |config|
|
|||||||
# folder are already added.
|
# folder are already added.
|
||||||
# config.assets.precompile += %w( admin.js admin.css )
|
# config.assets.precompile += %w( admin.js admin.css )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Disable concurrent asset compilation to prevent segfault # https://github.com/sass/sassc-ruby/issues/197
|
||||||
|
# Reproduce: `rake assets:clobber`, `rake assets:precompile`. If the command succeeds, it worked
|
||||||
|
Rails.application.config.assets.configure do |env|
|
||||||
|
env.export_concurrent = false
|
||||||
|
end
|
||||||
|
Reference in New Issue
Block a user