Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#523·better_errors

Rails won't boot after better error update

Author: waghanzaCreated May 26, 2023Updated May 29, 2023

Hi @haileys ,

I have a rails app that use better_errors.

After an update of this library, I come with a LoadError: cannot load such file -- sassc.

Digging into the source code, I have spotted that sassc is a development depency https://github.com/BetterErrors/better_errors/blob/55ce4f69be35f652e4b967ad2f720ec4d6c5c72f/better_errors.gemspec#L28

However, it is load in https://github.com/BetterErrors/better_errors/blob/55ce4f69be35f652e4b967ad2f720ec4d6c5c72f/lib/better_errors/error_page_style.rb#L1

Should not it be a runtime dependency ?

Regards,

Source: BetterErrors/better_errors

View original on GitHubView discussion on GitHub