sassc-ruby: Error: File to import not found or unreadable
As of 1.12.0 I am seeing errors like this:
ActionView::Template::Error: Error: File to import not found or unreadable: /opt/rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/normalize-rails-4.1.1/vendor/assets/stylesheets/normalize-rails/normalize.
on line 1 of ../../../../../../opt/rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/normalize-rails-4.1.1/vendor/assets/stylesheets/normalize-rails.scss
Downgrading to 1.11.4 I no longer saw this issue.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 20 (9 by maintainers)
I opened #81 including a regression test, by the way!
It seems to me that
libsass
intends to release a new version in the 3.5 series fixing this, so it should be enough to update the vendored version of libsass once that happens and release 1.12.1 after that.Cool, when that is done I’ll update to it.
I can confirm the above as well in a brand new Rails project. Upgrading to 1.12.0 from 1.11.4 causes an issue. Will post a minimally reproducible setup in a second.