Search code examples
ruby-on-railsrubysassrails-engines

SCSS @import statements inside Rails Engine results in error: `Aborted (core dumped)`


I am having trouble using SCSS @import statements within any of my Rails Engines. Can someone please help me sort this out? Here are some details:

  • Using @import within any SCSS files within the Rails engine files causes the main application to crash. Here are the last two lines that the logger shows.
    • Rendered <snipped> (Duration: 87.4ms | Allocations: 33352)
    • Aborted (core dumped)
  • SCSS works correctly within the engine when @import is not used
  • SCSS @import statements work correctly within my main applications asset files
  • I am running Rails 6.0 and sassc-rails

So far I cannot find any way to get them working. Can someone please help me sort this out?


Solution

  • The issue actually was a bug with thin server which I have been using in development, switching to puma solved this problem.