Skip to content

Example app showing core dump with administrate + sprockets + bootstrap-sass

Notifications You must be signed in to change notification settings

mvz/example-app-sprockets-crash

Repository files navigation

README

This example app demonstrates a crash in sprockets + sassc when precompiling assets.

The ingredients to trigger the crash are:

  • sprockets 4.0
  • administrate 0.15.0 or 0.16.0
  • bootstrap-sass

Given these dependencies, adding a scss file (in this repo, base.scss) with the following lines makes running bundle exec rake assets:precompile segfault:

@import "bootstrap-sprockets";
@import "bootstrap";

As suggested in sass/sassc-ruby#207, adding the following to config.application.rb makes the problem go away:

config.assets.configure do |env|
  env.export_concurrent = false
end

Related bug report: rails/sprockets#706

About

Example app showing core dump with administrate + sprockets + bootstrap-sass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published