New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.10.0 requires sassc as dependency #516
Comments
i just ran into this same error, on ruby 3.2.2 / rails 7.1.0.alpha with sprockets but no pre-processing of css/js assets (so no sass). |
Bit me too. Using Rails 7 with esbuild/tailwindcss (so no need for SASS in this project at all) |
Looking at https://github.com/BetterErrors/better_errors/pull/498/files it looks like the original plan was indeed to bundle the compiled css:
So the |
There's a bug in 2.10 that requires `sassc`: BetterErrors/better_errors#516
better_errors version 2.10.0 has a known bug BetterErrors/better_errors#516 whereby there is a call to `require 'sassc'` without the gem specifiying `sassc` as a dependency, so is not installed by dependent projects. The impact on devdocs is that the application cannot start in development environment without adding `sassc` as a dependency.
better_errors version 2.10.0 has a known bug BetterErrors/better_errors#516 whereby there is a call to `require 'sassc'` without the gem specifiying `sassc` as a dependency, so is not installed by dependent projects. The impact on devdocs is that the application cannot start in development environment without adding `sassc` as a dependency.
Can you please clarify whether it is necessary for projects using |
Hi , any update on this ? |
Looks like this issue can be closed. It has been fixed by #520 in better_errors 2.10.1. |
Thank you @RobinDaugherty and @jackjennings! |
I just tried to upgrade from 2.9.1 to 2.10.0 in a Rails project which is not using sassc itself.
The new version depends on sassc and is using it in
better_errors-2.10.0/lib/better_errors/error_page_style.rb:1
without actually depending on it in the Gemfile.This results in an Error when trying to run console or server:
Alternatively (and for me preferably), maybe the sass files could be compiled into the published Gem?
The text was updated successfully, but these errors were encountered: