You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a similar problem due to Bootstrap. I believe you cannot have dartsass-sprockets and sass-rails together in any project, because they both use the same class namespace to maintain drop-in compatibility with each other.
Thank you for that info @elondres-mim. I am using thoughtbot/administrate & it causes the same issue. In my case, I believe there's a (somewhat involved) way to get rid of the sassc-rails dependency within administrate, but for projects using libraries with a hard dependency on sassc-rails, the solution is probably to going to be using dartsass-rails for the main stylesheets.
When I use with activeadmin_addons gem (there is sass-rails inside), this error appears:
topological sort failed: [#<Rails::Initializable::Initializer:0x000000010e5500a0 @name=:setup_compression, @context=#<SassC::Rails::Railtie>, @options={:group=>:all, :after=>:setup_sass}, @block=#<Proc:0x000000010d157a58 /.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/sassc-rails-2.1.2/lib/sassc/rails/railtie.rb:72>>, #<Rails::Initializable::Initializer:0x000000010e49fc00 @name=:setup_sass, @context=#<SassC::Rails::Railtie>, @options={:group=>:all, :after=>:setup_compression}, @block=#<Proc:0x000000010f0d7040 /.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/dartsass-sprockets-3.1.0/lib/sassc/rails/railtie.rb:36>>, #<Rails::Initializable::Initializer:0x000000010e49fb60 @name=:setup_compression, @context=#<SassC::Rails::Railtie>, @options={:group=>:all, :after=>:setup_sass}, @block=#<Proc:0x000000010f0d6f78 /.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/dartsass-sprockets-3.1.0/lib/sassc/rails/railtie.rb:74>>]
The text was updated successfully, but these errors were encountered: